Light
Dark
System
v4latest
v4latest
v3
v2
v1

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

Light
Dark
System

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.