【问题标题】:setting liquibase.changelogSchemaName property in spring boot在 Spring Boot 中设置 liquibase.changelogSchemaName 属性
【发布时间】:2020-08-21 18:50:59
【问题描述】:

我在 Spring Boot 中为 liquibase 设置 changelogSchemaName 时遇到问题。

我将其设置如下 - spring.datasource.datsourcename.liquibase.changelogSchemaName =

但似乎 spring boot 没有读取这个属性。

如何设置此属性。我的问题是我想对与实际架构不同的变更日志表使用单独的架构。

【问题讨论】:

  • 我猜前缀是spring.liquibase,没有数据源了解更多here。所以应该是spring.liquibase.default-schema

标签: spring-boot liquibase


【解决方案1】:

你可以使用 spring.liquibase.liquibase-schema= 在 springboot 应用程序的 application.properties 文件中。

【讨论】:

    猜你喜欢
    • 2020-12-24
    • 1970-01-01
    • 2021-07-17
    • 1970-01-01
    • 2018-08-26
    • 1970-01-01
    • 2021-03-06
    • 2020-11-03
    • 2015-03-11
    相关资源
    最近更新 更多