playframework / play-slick

Slick Plugin for Play
Apache License 2.0
803 stars 283 forks source link

Generate migration script incrementally? #233

Open hanfeisun opened 9 years ago

hanfeisun commented 9 years ago

play-slick seems only able to generate an initial SQL script..

For example, after it generates 1.sql, if I make a change to that slick Table, as I known, play-slick seems only able to regenerate a new 1.sql instead of append a 2.sql to the evolution..

This looks not very convenient because it will drop current table and clean all existing rows.. Would it be possible for play-slick to generate a new SQL script?

Daxten commented 9 years ago

No, not possible at the moment