This commit is contained in:
iElectric 2010-03-17 12:32:07 +01:00
parent 384f045de8
commit 42ab0ba796

View File

@ -303,10 +303,11 @@ We'll create a new column with a matching change script
def upgrade(migrate_engine):
model.meta.bind = migrate_engine
model.table.data.create()
model.table.create()
def downgrade(migrate_engine):
model.meta.bind = migrate_engine
model.table.data.drop()
model.table.drop()
This appears to run fine when upgrading an existing database - but the
first script's behavior changed! Running all our change scripts on a