Skip to content

Possibility to execute migration outside of transaction #81

@ghost

Description

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions