Possibility to execute migration outside of transactionSee original GitHub issue
Some SQL commands can’t be executed in the scope of transaction. E.g. psql
ALTER TYPE .... I suggest to add possibility to disable wrapping particular migration in the transaction. It can be configured via some flag in the migration file name, or via special comment inside the migration, e.g.
-- tx off.
I’m ready to submit PR in case this changes are welcome and we agree on configuration option.
- Created 5 years ago
- Comments:22 (10 by maintainers)