gpt4 book ai didi

liquibase - 在 JHipster 2.26 中暂时禁用 Liquibase

转载 作者:行者123 更新时间:2023-12-04 16:33:54 25 4
gpt4 key购买 nike

我使用 JHipster 作为教授软件工程的工具。我想逐步教授 JHipster 以软化学习曲线。在这方面,我想知道暂时禁用 Liquibase 的最聪明方法。我更喜欢在学术类(class) (https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-jpa) 开始时使用 JPA2 DDL 自动功能。
非常感谢这个很棒的 AngularJS + Spring Boot 生成器。

最佳答案

我正在使用 jihipster 3.12,在 Jhipster 3.12,在你的 src\main\resource\config\application-dev.yml

更改配置文件设置以添加“no-liquibase”,如下所示:

spring:
profiles:
active: dev
include: swagger, no-liquibase

希望有帮助

关于liquibase - 在 JHipster 2.26 中暂时禁用 Liquibase,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34559042/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com