September 2017
Intermediate to advanced
244 pages
6h 44m
English
Nowadays, a developer is not always supposed to create databases using SQL or database tool. There should be something in the code which can be under Version Control System and every developer in the team can run on his/her system or on the server. This something is nowadays called migration. Another benefit of writing migration is that it is not for one specific database. The same migration can work on both MySQL and PostgreSQL. Migrations are about structural changes in the database.
A migration is for database table creation or modifications, or different constraints or indexes creation. In the same way, Seeders are there to insert data in the database.
Read now
Unlock full access