I am using Liquibase with SQL Server (Microsoft SQL Server 2016) and Spring Boot. By default, Liquibase uses the dbo schema for the databasechangelog and databasechangeloglock tables. However, I want to use a different schema for these tables.
Here are my Liquibase properties in the application.properties file:
spring.liquibase.enabled=true
spring.liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml
According to the documentation, liquibaseSchemaName properties can be used to set a specific schema name, but it doesn’t work in the application.properties file.
Is there a way to specify the schema where Liquibase creates the databasechangelog and databasechangeloglock tables?
3