play-ebean icon indicating copy to clipboard operation
play-ebean copied to clipboard

Evolutions not run property on play 2.8

Open GithubUser8080 opened this issue 4 years ago • 0 comments

I have just migrated from play 2.6 and an older version of play-ebean plugin to play 2.8 and version 6.0.0 of this plugin

We have noticed a change of behavior when running evolutions on a dev server

Previous behavior on a working app

  1. Change a model in any way (let's assume that we change the name of a property)
  2. Starting the app notifies the developer that an evolution has to be run
  3. Pressing the apply button results in possibly another error (inconsistent state), and marking the problem as resolved causes the entire database to be deleted and recreated with the new schema

Current behavior

  1. Pressing the apply button notifies of an inconsistent state
  2. Continuing to press the button reloads the same page
  3. After some reloads the max url limit is reached

In the end what i would like to achieve is that when ebean generates a different schema, the entire database is deleted and recreated accordingly.

GithubUser8080 avatar Jun 11 '21 09:06 GithubUser8080