mybatis-plus在application.yml文件中配置了table:update,表示修改entity的话,可以自动更新到表结构,为什么重新运行之后,可以在表中查看到,但是一会就自己消失了。有没有懂为什么的?
mybatis:
configuration:
map-underscore-to-camel-case: true #开启动态驼峰映射
table:
auto: update
mybatis:
configuration:
map-underscore-to-camel-case: true #开启动态驼峰映射
table:
auto: update
展开
1
3