Question: Which best practice is NOT relevant to migrations?

  1. To make sure that your migrations are up to date, you should run updatemigrations before running your tests.
  2. You should back up your production database before running a migration.
  3. Your migration code should be under source control.
  4. 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.