Running evolutions on Play Framework 2.0

前端 未结 3 1330
温柔的废话
温柔的废话 2021-02-04 03:46

This recent post, How to use Evolutions in Play Framework 2.0?, says that evolutions will automatically be applied when running Play 2.0. I\'ve tried the play-2.0-beta download

相关标签:
3条回答
  • 2021-02-04 04:01

    As of RC-3, the new location of the evolutions scripts is in conf/evolutions/[dbname]/1.sql. Otherwise, the information above is all still accurate.

    0 讨论(0)
  • 2021-02-04 04:07

    Please try one of the Play 20 sample applications and you will be prompted to apply evolutions upon application startup - the request appears in the application browser the first time you start the app.

    0 讨论(0)
  • 2021-02-04 04:23

    Adding applyEvolutions.default=true to your application.conf will enable evolutions by default in your application.

    0 讨论(0)
提交回复
热议问题