Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Doctrine Migrations

Austin Morris
February 11, 2014

Doctrine Migrations

It's like source control for you database!

Austin Morris

February 11, 2014
Tweet

More Decks by Austin Morris

Other Decks in Technology

Transcript

  1. Doctrine Migrations It’s like source control for your database! Austin

    Morris Varsity News Network (We’re hiring!)
  2. Doctrine Migrations • Programmatic database version control. • Easy schema

    deployment. • Let the ORM do the work! http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/
  3. What else? • Migrate up and down (revert). • Migrate

    across multiple versions. • Migrate to specific versions. • Dry-run migrations. • Manipulate data during migrations. • Symfony has DoctrineMigrationsBundle