We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported by CockroachDB: migrations which mix DML and DDL in a transaction are not supported by the database - for example
ALTER TABLE Foo ADD COLUMN Bar int; UPDATE Foo SET Bar = 1;
ALTER TABLE Foo ADD COLUMN Bar int;
UPDATE Foo SET Bar = 1;
will throw a column-not-known error. Their advice is that migrations should never be run in transactions, in order to prevent any edge cases.
The text was updated successfully, but these errors were encountered:
Fixed in v6.1.1
Sorry, something went wrong.
Fixed #2592 Cockroach cannot support mixing DDL/DML in transactions
b74ab8d
Fixed flyway#2592 Cockroach cannot support mixing DDL/DML in transact…
8ee1bfc
…ions
No branches or pull requests
Reported by CockroachDB: migrations which mix DML and DDL in a transaction are not supported by the database - for example
ALTER TABLE Foo ADD COLUMN Bar int;
UPDATE Foo SET Bar = 1;
will throw a column-not-known error. Their advice is that migrations should never be run in transactions, in order to prevent any edge cases.
The text was updated successfully, but these errors were encountered: