Open rozetko opened 4 years ago
If migration is interrupted, DB state becomes inconsistent We should make migrations transaction-like: finish the migration or discard any changes
It may help: https://stackoverflow.com/questions/17047994/transactionally-writing-files-in-node-js
If migration is interrupted, DB state becomes inconsistent We should make migrations transaction-like: finish the migration or discard any changes