[web-devel] [Yesod] database tables migration problem.
cutsea110 at gmail.com
Fri Feb 18 12:23:25 CET 2011
I am developping web service *incrementally* by using devel-server.
This is very good feel.
but, a bit problem occurred, when the program install and setup new mathine.
This service's Model.hs has 2 tables these are cross-reference like as below.
avatar FileHeaderId Update
i settled like ...
1. migrate tables which has no column without id.
2. alter add columns.
i think yesod should separate the migration to 2 steps.
1 is to create tables these has no columns without id.
2 is to add colums and so on.
How about this?
More information about the web-devel