Ask AI

edgedb migrate

This command is an alias for edgedb migration apply. Once the migration scripts are in place, the changes can be applied to the database using this command.

EdgeDB Cloud CI users and scripters

When scripting a migrate/migration apply for an EdgeDB Cloud instance, do not use edgedb login to authenticate. Instead, you should generate a secret key in the EdgeDB Cloud UI or by running edgedb cloud secretkey create and set the EDGEDB_SECRET_KEY environment variable to your secret key. Once this variable is set to your secret key, logging in is no longer required.