While the update
method will suit your needs in most cases, you may need to use more sophisticated solutions. If you do have such needs, you should look into DoctrineMigrationsBundle
, which is not a part of Symfony, but it can be downloaded and installed through packagist.
The migrations bundle offers some more advanced features such as:
Allows you to modify the SQL code used for migration
Ability to rollback your changes
Ability to manually run a single version of migration