This package is auto-updated.
Last update: 2020-09-27 12:54:00 UTC
The best way to install this extension is using Composer:
$ composer require librette/doctrine-migrations
Now you have to register this extension in your config.neon
extensions: migrations: Librette\Doctrine\Migrations\MigrationsExtension
If you have already configured Doctrine, you don't have to configure anything else, but there are few things you can configure:
migrations: name: My migrations migrationsNamespace: MigrationsNamespace tableName: doctrine_migration_versions migrationsDirectory: %appDir%/migrations migrations: myMigration: version: 123 class: MyMigration123
Default values of migrationsNamespace, tableName and migrationsDirectory are the same as you see in example above.
Migrations directory must exists and must be writable.
Simply run Kdyby\Console and you should be able to use new commands.
For more detailed information about Doctrine Migrations visit Doctrine Migrations documentation