You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I made a webapp from scratch and started work by finding a common Go SQL migrator. This migrator (https://github.com/rubenv/sql-migrate) issues an INSERT into its tracking table after executing the schema changes, all in the same transaction. This triggers the error in #15283. We should allow this kind of behavior as long as the INSERT (or rather, the statement after the schema change) doesn't depend on the schema change, since other migrators may have similar behavior.
The text was updated successfully, but these errors were encountered:
the test also includes an insert into an auxiliary table in the
same transaction as a way to record the schema change transaction.
fixescockroachdb#15297
Recently I made a webapp from scratch and started work by finding a common Go SQL migrator. This migrator (https://github.com/rubenv/sql-migrate) issues an INSERT into its tracking table after executing the schema changes, all in the same transaction. This triggers the error in #15283. We should allow this kind of behavior as long as the INSERT (or rather, the statement after the schema change) doesn't depend on the schema change, since other migrators may have similar behavior.
The text was updated successfully, but these errors were encountered: