In my yaml I have a parameter structure like this:
spring:
liquibase:
parameters:
tables:
table1: table1
and a script which creates virtual tables in PostgreSQL based on a database object.
CREATE FOREIGN TABLE my_table1 (
...
)
SERVER server_object
OPTIONS (schema_name 'common', table_name '${tables.table1}');
As far as I know checksum calculation is based on the given text not the substituted value.
My question is what are the possibilities to acquire the recently mentioned one, so that when I change from table1 to table2 for example and run the program, Liquibase will throw an error due to changed parameter value.
I have heard about preConditions but I think that’s not what I’m looking for or validCheckSum which is perhaps an even more distant thought.