You are browsing a version that is no longer maintained.

Doctrine Migrations

Support for the migrations library is included. Only one migration configuration is possible.

Configure

1return [ 'doctrine' => [ 'migrations_configuration' => [ 'orm_default' => [ 'directory' => 'path/to/migrations/dir', 'name' => 'Migrations Name', 'namespace' => 'Migrations Namespace', 'table' => 'migrations_table', 'column' => 'version', 'custom_template' => null, ], ], ], ];
2
3
4
5
6
7
8
9
10
11
12
13
14

Multiple Migration Configurations

At this time if you want to have migrations for multiple entity manager database configurations you must use the .phar archive and external configuration files.