By default, Liquibase tries to execute each changeset within a transaction.
Since CockroachDB does not support schema changes within transactions yet, we can use the supportsDDLInTransaction() method on the Database class to disable this on the CockroachDatabase class.
If runInTransaction=true, we should throw an error that this is unsupported.
By default, Liquibase tries to execute each changeset within a transaction.
Since CockroachDB does not support schema changes within transactions yet, we can use the
supportsDDLInTransaction()
method on the Database class to disable this on theCockroachDatabase
class.If
runInTransaction=true
, we should throw an error that this is unsupported.