Rollback A Migration

Most of the time, you should not rollback a migration. Instead just create a new migration that fixes any mistakes a previous migration had.

However, there are some situations where it makes sense to rollback a migration:

  • The migration had errors, and was only able to run on some locales but not others
  • The code that the migration belongs to needs to be rolled back in prod or never made it to prod - so we should also rollback the corresponding migration.

If you need to rollback a migration that has been pushed to CrowdTranslate, you can:

Go to [Migrations] > click [Rollback]

This will rollback the migration in CrowdTranslate. If you further want to delete it, you can.

Then when you have an updated migration you can just push it again, even if that migration has the same name.