Created
August 16, 2012 21:35
-
-
Save dhellmann/3373826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py b/nova/db/sqlalchemy/migrate_repo/versions/111_g | |
index 0c97112..dbbc069 100644 | |
--- a/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py | |
+++ b/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py | |
@@ -43,8 +43,9 @@ def upgrade(migrate_engine): | |
aggregate_hosts = Table('aggregate_hosts', meta, autoload=True) | |
if dialect.startswith('sqlite'): | |
- aggregate_hosts.drop_column('host') | |
- aggregate_hosts.create_column(Column('host', String(255))) | |
+ #aggregate_hosts.drop_column('host') | |
+ #aggregate_hosts.create_column(Column('host', String(255))) | |
+ pass | |
elif dialect.startswith('postgres'): | |
ucon = UniqueConstraint('host', | |
name='aggregate_hosts_host_key', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment