How to conduct db schema migration in sorm?

145 Views Asked by At

Let's say that I would like to update db columns from

case class Link(url:String, auther: String)

to

case class Link(url:String, auther: String, created: DateTime)

However, I don't want to drop the table and create it again with DropAllCreate, because I would like to preserve my data.

How are we supposed to do it in SORM? or the only way is to do manual migration with SQL?

1

There are 1 best solutions below

0
On BEST ANSWER

Yes. Manual altering is the only way.