Flyway migrations not persistent in H2 embedded database

泄露秘密 提交于 2019-12-05 11:24:37

I have not enough data about your configuration

  1. Hint: See migration file must be part of dicrectory /db/migration

  2. Hint use a pattern like V1.0.1__name.sql 2 under scores

  3. Hint depending on Flyway version you should start with a sql file version greater than 1.0 example 1.0.1.

  4. Hint per default spring boot jpa drops your database content if you using a in memory database. See http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html section 28.3.3.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!