Show all migration versions.

edgedb [connection-option...] migration log [OPTIONS]

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

connection-option

See the Common Connection Options. The migration-log command runs on the database it is connected to.

--schema-dir=schema-dir

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

--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.

--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.

--newest-first

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

--limit=N

Show maximum of N revisions (default is unlimited).

Light
Dark
System