mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Change cloud table creation order
This commit is contained in:
@@ -132,21 +132,25 @@ def upgrade():
|
||||
# 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()
|
||||
|
||||
CloudImage_table.drop()
|
||||
CloudInstance_table.drop()
|
||||
CloudStore_table.drop()
|
||||
CloudSnapshot_table.drop()
|
||||
CloudUserCredentials_table.drop()
|
||||
CloudStore_table.drop()
|
||||
|
||||
UCI_table.drop()
|
||||
CloudProvider_table.drop()
|
||||
CloudImage_table.drop()
|
||||
|
||||
CloudUserCredentials_table.drop()
|
||||
CloudProvider_table.drop()
|
||||
|
||||
Reference in New Issue
Block a user