I am migrating from version liquibase-core:jar:3.6.3 to liquibase-core:jar:3.8.9 and one of my existing changeset is failing to be executed during my integration tests.
<createIndex tableName="table" indexName="index_name_idx"> <column name=" column"/> </createIndex>
Please note that by mistake, I had a space at the beginning of the column name " column". While running this command using liquibase 3.8.9 produce the following SQL:
CREATE INDEX "index_name_idx" ON public.table(" column")
While running it with the previous version:
CREATE INDEX index_name_idx ON public.table(column)
At this point, the only option I see is to:
- Put failOnError=false on the original changeset.
- Add a new changeset with the fix & preconditions to preventing this to be executed if previous changeset was executed.
Do you see a different solution ?
Thank you !