There is an existing database , running on the server.
Additinally there is a local database, running on a local machine fro development.
The challenge is to maintain the same code for both environments and avoid conflicts when applying migrations.
Steps:
[x] Edit migrations.
[x] Ensure the migrations can be applied to an empty development database.
[x] Ensure the migrations can be applied to an existing working database.
[x] Ensure the new migration can be created and applied to the existing database without errors.
[x] Ensure the migrations can be applied to an existing working up to date database.
Description:
There is an existing database , running on the server. Additinally there is a local database, running on a local machine fro development. The challenge is to maintain the same code for both environments and avoid conflicts when applying migrations.
Steps: