Play framework 2.4.3 evolutions not triggered

吃可爱长大的小学妹 提交于 2019-12-05 23:56:38

Ok. I read the migration docs and one has to apply libraryDependencies += evolutions to build.sbt.

Then it works like expected.

These are not necessary, they will apply the evolution automatically (without showing the Database 'default' needs evolution!):

applyEvolutions.db=true
applyEvolutions.default=true
applyDownEvolutions.default=true

Just an update for Play 2:

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