Kevin Dangoor wrote:
On 12/29/05, Ian Bicking <[EMAIL PROTECTED]> wrote:
I think I meant the upgrade command documentation is coming; the command
is there now. I advise using "sqlobject-admin record --edit" (or
whatever tg-admin wraps that as) and entering your ALTER statements. It
will record these in the history, and then "sqlobject-admin upgrade"
will work. In the absence of an upgrade SQL script, the upgrade command
won't work.
That's one nice thing about the Rails "migrations". They're database
independent, whereas a bunch of ALTER statements likely isn't...
How do they do that?
Anyway, right now you can provide multiple upgrade scripts for different
databases (each upgrade script gets the database name in its filename).
There's no Python upgrade scripts, which could be useful.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org