Light
Dark
System
v2latest
v3dev
v2latest
v1

edgedb migration edit

Edit migration file.

edgedb migration edit [options]

Invokes $EDITOR on the last migration file, and then fixes migration id after editor exits. Usually should be used for migrations that haven’t been applied yet.

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

--schema-dir=schema-dir

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

--no-check

Do not check migration within the database connection.

--non-interactive

Fix migration id non-interactively, and don’t run editor.

Light
Dark
System