Search
ctrl/
Ask AI
Light
Dark
System

edgedb migration log

Show all migration versions.

edgedb migration log [options]

The tool will display the migration history either by reading it from the EdgeDB instance or from the schema directory.

The migration log command runs on the database it is connected to. For specifying the connection target see connection options.

--from-fs

Print revisions from the schema directory (no database connection required). At least one of --from-db or --from-fs is required for migration log command.

--from-db

Print revisions from the database (no schema files required). At least one of --from-db or --from-fs is required for migration log command.

--newest-first

Sort migrations starting from newer to older, by default older revisions go first.

--schema-dir=schema-dir

Directory where the schema files are located. Defaults to ./dbschema.

--limit=N

Show maximum of N revisions (default is unlimited).