symfony - Is it safe to use doctrine2 migrations in production environment with symfony2 and php -


I am creating a complex application, but I should know that it is safe to use the theoretical migration in production.

For example, the site has been used for 1 year and the company wants to add additional attributes to the user table.

Therefore I work directly through the database or through the theory migration

It uses migration's (and profit) to automate the changes in its database quickly and accurately. . Yes , they should be used in most cases and should be used to update their databases in production.

Edit: Also, it clearly states that this is one of the purposes of the migration.

Of course, the ultimate goal of writing migration is that when you apply your application, you may be able to use them to update your database structure reliably. By running a migration on the local level (or beta server), you can ensure that the migration works as you expect.

...

Comments