Explorar o código

fix create resoure table to update

huodongdong %!s(int64=7) %!d(string=hai) anos
pai
achega
7a5a40de73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dev/resource-service-dev.properties

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

@@ -6,7 +6,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.datasource.username=rankin
 spring.datasource.password=abc
 
-spring.jpa.properties.hibernate.hbm2ddl.auto=create
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
 
 # resource center url