Benefits of Using Migration

I am currently studying an environment that supports Migrations.

My question is: what is the main advantage for using migrations?

Why don't we just use the database administration tool to add / delete / modify tables and to perform other operations directly? Or why not just export my .sql file and my command to import it into my databases?

+5
source share
2 answers

Migrations are part of the deployment process. Thus, the benefits of migration (in general) are

  • ( , , )
  • ( , , )
  • ( ) (...)
  • (stage, prod, test), .
  • , ( ) live-;)

, , . (;)) , .

: "" - . , , .

+7

. (, , / ), , , PHPMyAdmin.

-, , , .

+3

All Articles