How do I set the Liquibase ObjectQuotingStrategy using the YAML format? -
According to
, Liquibase is using "Root object" to set up ObjectQuotingStrategy while creating database objects The correct method, which is understandable using the XML format, is less clear when using the YAML format.
Is there a way to set up this property for the whole change log using YAML format?
You should be able to set just as a property of the root databaseChangeLog node: However, it seems that there is a bug in 3.2.x that This prevents the database from parsing on ChangeLog's level. I made a bug in 3.2.x branch and fixed it. For now, you have to set at the ChangeSet level:
databaseChangeLog: - objectQuotingStrategy: QUOTE_ALL_OBJECTS - changeSet: ID: 1 Author: nvoxland change:
databaseChangeLog: - ChangeSet: ID: 1 Author: nvoxland objectQuotingStrategy: change QUOTE_ALL_OBJECTS: - createTable: .. ...
Comments
Post a Comment