如何在jHipster項目中添加表、表字段到生產中?我讀了這個https://www.jhipster.tech/development/,但它是為了開發。此后產品數據庫是否會更新:./mvnw -DskipTests -Pprod package 或啟動后:./my-project.war 我的 pom.html 部分:<plugin> <groupId>org.liquibase</groupId> <artifactId>liquibase-maven-plugin</artifactId> <version>${liquibase.version}</version> <configuration> <changeLogFile>src/main/resources/config/liquibase/master.xml</changeLogFile> <diffChangeLogFile>src/main/resources/config/liquibase/changelog${maven.build.timestamp}_changelog.xml</diffChangeLogFile> <driver>com.mysql.jdbc.Driver</driver> <url>jdbc:mysql://localhost:3306/mydatabase_dev</url> </configuration></plugin>這是否意味著我應該更改選擇我想要更新的數據庫?在產品中添加字段時的操作順序是什么?
添加回答
舉報
0/150
提交
取消