Question: Which best practice is NOT relevant to migrations?
- To make sure that your migrations are up to date, you should run updatemigrations before running your tests.
- You should back up your production database before running a migration.
- Your migration code should be under source control.
- If a project has a lot of data, you should test against a staging copy before running the migration on production.
Answer: The correct answer of the above question is Option A:To make sure that your migrations are up to date, you should run updatemigrations before running your tests.