3 ms·
>If you need a down migration, take a backup before running your up migrations. Aren't you missing some steps? Or does your db back up schema structure and dat
by brlewis 7y ago
>If you need a down migration, take a backup before running your up migrations.
Aren't you missing some steps? Or does your db back up schema structure and data separately?
1. Make sure nobody can insert/update/delete anything
2. Take a backup
3. Run your up migration
4. Thoroughly test everything
5. Allow insert/update/delete again
- theclaw 7y agoThat is our upgrade process, yes.