Skip to content
AADevTeam edited this page Nov 11, 2013 · 6 revisions

Enable / Disable Ebean DDL generation

Ebean DDL generation is enabled by default. When enabled DDL's will be updated in the 1.sql file in conf/evolutions/{dbname}/1.sql . In order to disable this feature just remove the first two comments of the 1.sql file.

  # --- Created by Ebean DDL
  # To stop Ebean DDL generation, remove this comment and start using Evolutions

This can be re enabled by adding the commented lines again, yet sometimes this does not work unless the play_evolutions table which handles the DB evolution's is deleted beforehand.

If this still does not work try changing the DB name to a different one and try.

Clone this wiki locally