You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
play-slick only creates an evolutions file for you if you don't have one yet. That's what you want when you first create your model, but doesn't allow you to use this feature when you later change your model and need to create a 2.sql, perhaps with a new table.
Suggestion: instead of generating 1.sql if it isn't there, generate create.sql and drop.sql unless a configuration parameter is set to false. Then you can write your 2.sql based on the diff between 1.sql and create.sql.
I can also imagine situations on a project where you want to run the whole create or drop script on a test database.
The text was updated successfully, but these errors were encountered:
play-slick only creates an evolutions file for you if you don't have one yet. That's what you want when you first create your model, but doesn't allow you to use this feature when you later change your model and need to create a
2.sql
, perhaps with a new table.Suggestion: instead of generating
1.sql
if it isn't there, generatecreate.sql
anddrop.sql
unless a configuration parameter is set tofalse
. Then you can write your2.sql
based on the diff between1.sql
andcreate.sql
.I can also imagine situations on a project where you want to run the whole create or drop script on a test database.
The text was updated successfully, but these errors were encountered: