I am still developing first version of my application on play 2. How could I regenerate evolution scripts?
相关问题
- PlayFramework: how to transform each element of a
- Could not import the newly generated play framewor
- Play Framework Unicode symbols in HTTP Header
- Play framework 2 : How to pass object between rout
- Putting output of 'git describe' in templa
相关文章
- how to set H2 primary key id to auto_increment?
- Testing request with CSRF Token in Play framework
- How to map an abstract collection with jpa?
- Build maven project as a part of SBT build
- play2 framework my template is not seen. : package
- How does @Inject in Scala work
- play framework 2.0 - unexpected exception - Key No
- Error integration fingerprint U.are.U SDK with jav
Using play 2.4, Slick 3.0.3 & postgres the *.sql files placed in the evolution folder were automatically generated in Heroku using the following setup:
in build.sbt:
in application.conf:
and in Procfile:
Cheers
Disclaimer: it will destroy your existing database and create new one!
The auto-evolution will auto-regenerate when:
dev
modeapplication.conf
you have this line not commented :ebean.default="models.*"
1.sql
# --- Created by Ebean DDL