Download the PHP package zenstruck/migrations-bundle without Composer
On this page you can find all versions of the php package zenstruck/migrations-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zenstruck/migrations-bundle
More information about zenstruck/migrations-bundle
Files in zenstruck/migrations-bundle
Download zenstruck/migrations-bundle
More information about zenstruck/migrations-bundle
Files in zenstruck/migrations-bundle
Vendor zenstruck
Package migrations-bundle
Short Description Wrapper for DoctrineMigrationsBundle that enables container aware migrations
License MIT
Homepage http://zenstruck.com/project/ZenstruckMigrationsBundle
Package migrations-bundle
Short Description Wrapper for DoctrineMigrationsBundle that enables container aware migrations
License MIT
Homepage http://zenstruck.com/project/ZenstruckMigrationsBundle
Keywords migrations
Please rate this library. Is it a good library?
Informations about the package migrations-bundle
ZenstruckMigrationsBundle
NOTE: DoctrineMigrationsBundle now supports ContainerAware migrations
Wrapper for DoctrineMigrationsBundle that enables container aware migrations.
NOTE: For use with Symfony 2.0
use the 1.x
branch
Installation
-
Add to
composer.json
(see http://getcomposer.org/) - Register the bundle
Usage
- To make use of container aware data migrations your migrations must extend
Zenstruck\Bundle\MigrationsBundle\Migrations\AbstractMigration
. (note: Migrations that extendDoctrine\DBAL\Migrations\AbstractMigration
will still run normally) - Implement the
dataUp()
method and add your custom migration logic. (note: Theup()
method will be run beforedataUp
) - Implement the
dataDown()
method and add your custom migration logic. (note: Thedown()
method will be run beforedataDown
) - Optionally implement the
getDataDescription
method and return a description of the migration. - Migrate using the
zenstruck:migrations:migrate
command. (note: make sure you run migrations with this command and notdoctrine:migrations:migrate
Migration Template
All versions of migrations-bundle with dependencies
PHP Build Version
Package Version
Requires
doctrine/doctrine-migrations-bundle Version
*
The package zenstruck/migrations-bundle contains the following files
Loading the files please wait ....