huodongdong 7 年之前
父節點
當前提交
ae4b8f0ede
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev/product-service-dev.properties

+ 1 - 1
dev/product-service-dev.properties

@@ -5,5 +5,5 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.datasource.username=rankin
 spring.datasource.username=rankin
 spring.datasource.password=abc
 spring.datasource.password=abc
 
 
-spring.jpa.properties.hibernate.hbm2ddl.auto=create-drop
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect