The solution I ended up with:

  • I write new SQL as evolution scripts.
  • I copy paste the SQL from the evolution script to a psql console to test it on my local postgresql db.
  • With my local database updated, I run the Slick code generator to get an up to date Tables.scala.
  • I revert the database changes from my local database with the down script in the evolution (or just by hand).

The next time I run my application, the evolution runs and updates my db. This works pretty well, now that I am used to the process.

Related Query

More Query from same tag