📅  最后修改于: 2022-03-11 15:00:20.279000             🧑  作者: Mango
// You can achieve your purpose by adding this
spring.jpa.hibernate.ddl-auto = create
// But keep in mind that, everytime you start your application, it will delete all previous tables and data. So to avoid this, you just change it toupdate like this
spring.jpa.hibernate.ddl-auto = update