Skip to content

class Athena::ORM::Migrations::Commands::Migrate
inherits Athena::ORM::Migrations::Commands::AbstractCommand #

Migrates the database to a version, the latest one by default, applying or reverting the migrations in between.

$ ./bin/console orm:migrations:migrate
$ ./bin/console orm:migrations:migrate prev
$ ./bin/console orm:migrations:migrate 'App::Migrations::Version20261014120000' --dry-run

See AORM::Migrations::Version::AliasResolver for the aliases a version may be given as.