details: http://www.bx.psu.edu/hg/galaxy/rev/cffcf1cae94c changeset: 3103:cffcf1cae94c user: James Taylor <james@jamestaylor.org> date: Wed Nov 18 10:43:08 2009 -0500 description: Change cloud table creation order diffstat: lib/galaxy/model/migrate/versions/0026_cloud_tables.py | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diffs (37 lines): diff -r b39f3d484220 -r cffcf1cae94c lib/galaxy/model/migrate/versions/0026_cloud_tables.py --- a/lib/galaxy/model/migrate/versions/0026_cloud_tables.py Wed Nov 18 09:52:38 2009 -0500 +++ b/lib/galaxy/model/migrate/versions/0026_cloud_tables.py Wed Nov 18 10:43:08 2009 -0500 @@ -132,21 +132,25 @@ # Load existing tables metadata.reflect() + CloudProvider_table.create() + CloudUserCredentials_table.create() + CloudImage_table.create() UCI_table.create() - CloudUserCredentials_table.create() + CloudStore_table.create() CloudSnapshot_table.create() CloudInstance_table.create() - CloudProvider_table.create() def downgrade(): metadata.reflect() + CloudInstance_table.drop() + CloudSnapshot_table.drop() + CloudStore_table.drop() + + UCI_table.drop() CloudImage_table.drop() - CloudInstance_table.drop() - CloudStore_table.drop() - CloudSnapshot_table.drop() + CloudUserCredentials_table.drop() - UCI_table.drop() - CloudProvider_table.drop() \ No newline at end of file + CloudProvider_table.drop()