On Sat Nov 21 07:37:40 2009, NUCLON wrote:
Show quoted text> I think it will be useful if there will be an ability to specify
> Migraine tables names or at least prefix for them.
>
> In case if one will have few projects in the same database, for
example.
Hi, sorry for the very late reply. While I like the idea, I haven't
found a solution I like. Do you have any concrete suggestions on how to
implement it?
I think my main problem is how to connect the prefix you're using with
the migration files. The problem is, if you leave everything to be
specified by hand (say, something like "migraine -m migrations/dir -p
myprefix"), it will be quite error-prone, and you could easily execute
the wrong migrations in the database... which will be a pain in the
ass, because you'll have to undo the changes manually and fiddle with
the internal migraine housekeeping tables and whatnot.
So I think it's a nice idea, but I don't know how to solve the problem,
so suggestions welcome!