# gel migrate

This command is an alias for [gel migration apply](https://docs.geldata.com/reference/using/cli/gel_migration/gel_migration_apply.md#ref-cli-gel-migration-apply). Once the migration scripts are in place, the changes can be applied to the database using this command.

> Warning: Gel Cloud CI users and scripters
> 
> When scripting a `migrate`/`migration apply` for a Gel Cloud instance, do not use `gel login` to authenticate. Instead, you should generate a secret key in the Gel Cloud UI or by running [gel cloud secretkey create](https://docs.geldata.com/reference/using/cli/gel_cloud/gel_cloud_secretkey/edgedb_cloud_secretkey_create.md#ref-cli-gel-cloud-secretkey-create) and set the `GEL_SECRET_KEY` environment variable to your secret key. Once this variable is set to your secret key, logging in is no longer required.

