huodongdong 7 years ago
parent
commit
fbb3c7c3f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/trade-service-dev.properties

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

@@ -5,7 +5,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.show_sql=true
 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
 #spring.jpa.properties.hibernate.max_fetch_depth=1