]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove downgrade migrations
authorIvan Kolodyazhny <e0ne@e0ne.info>
Thu, 17 Dec 2015 11:15:57 +0000 (13:15 +0200)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Fri, 18 Dec 2015 12:04:16 +0000 (14:04 +0200)
commit6d678dc393cd2c54256e6eaf744c15b8279008ec
treed284fc50c4705035790ebb084ec13436a99bfde4
parent0acf5ab4aacb991f5ca9d2f1cafc16e2896bef39
Remove downgrade migrations

According to cross project spec[1] downgrade migrations should be removed.

[1] I622f89fe63327d44f9b229d3bd9e76e15acbaa7a

Implements blueprint: no-downward-sql-migration

Change-Id: I111cdb4bba361de5da0ce7db8144965c947ada41
74 files changed:
cinder/db/migration.py
cinder/db/sqlalchemy/migrate_repo/versions/001_cinder_init.py
cinder/db/sqlalchemy/migrate_repo/versions/002_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/003_glance_metadata.py
cinder/db/sqlalchemy/migrate_repo/versions/004_volume_type_to_uuid.py
cinder/db/sqlalchemy/migrate_repo/versions/005_add_source_volume_column.py
cinder/db/sqlalchemy/migrate_repo/versions/005_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/006_snapshots_add_provider_location.py
cinder/db/sqlalchemy/migrate_repo/versions/007_add_volume_snapshot_fk.py
cinder/db/sqlalchemy/migrate_repo/versions/007_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/008_add_backup.py
cinder/db/sqlalchemy/migrate_repo/versions/009_add_snapshot_metadata_table.py
cinder/db/sqlalchemy/migrate_repo/versions/010_add_transfers_table.py
cinder/db/sqlalchemy/migrate_repo/versions/011_add_bootable_column.py
cinder/db/sqlalchemy/migrate_repo/versions/011_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/012_add_attach_host_column.py
cinder/db/sqlalchemy/migrate_repo/versions/012_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/013_add_provider_geometry_column.py
cinder/db/sqlalchemy/migrate_repo/versions/013_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/014_add_name_id.py
cinder/db/sqlalchemy/migrate_repo/versions/014_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/015_drop_migrations_table.py
cinder/db/sqlalchemy/migrate_repo/versions/016_drop_sm_tables.py
cinder/db/sqlalchemy/migrate_repo/versions/017_add_encryption_information.py
cinder/db/sqlalchemy/migrate_repo/versions/018_add_qos_specs.py
cinder/db/sqlalchemy/migrate_repo/versions/019_add_migration_status.py
cinder/db/sqlalchemy/migrate_repo/versions/020_add_volume_admin_metadata_table.py
cinder/db/sqlalchemy/migrate_repo/versions/021_add_default_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/022_add_reason_column_to_service.py
cinder/db/sqlalchemy/migrate_repo/versions/023_add_expire_reservations_index.py
cinder/db/sqlalchemy/migrate_repo/versions/024_add_replication_support.py
cinder/db/sqlalchemy/migrate_repo/versions/025_add_consistencygroup.py
cinder/db/sqlalchemy/migrate_repo/versions/026_add_consistencygroup_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/027_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/028_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/029_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/030_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/031_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/032_add_volume_type_projects.py
cinder/db/sqlalchemy/migrate_repo/versions/032_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/033_add_encryption_unique_key.py
cinder/db/sqlalchemy/migrate_repo/versions/033_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/034_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/034_volume_type_add_desc_column.py
cinder/db/sqlalchemy/migrate_repo/versions/035_add_provider_id_column.py
cinder/db/sqlalchemy/migrate_repo/versions/036_add_provider_id_column_to_snapshots.py
cinder/db/sqlalchemy/migrate_repo/versions/037_add_cgsnapshot_id_column_to_consistencygroups.py
cinder/db/sqlalchemy/migrate_repo/versions/038_add_driver_initiator_data_table.py
cinder/db/sqlalchemy/migrate_repo/versions/039_add_parent_id_to_backups.py
cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py
cinder/db/sqlalchemy/migrate_repo/versions/040_sqlite_downgrade.sql [deleted file]
cinder/db/sqlalchemy/migrate_repo/versions/041_add_modified_at_column_to_service.py
cinder/db/sqlalchemy/migrate_repo/versions/042_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/043_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/044_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/045_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/046_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/047_add_per_volume_quota.py
cinder/db/sqlalchemy/migrate_repo/versions/048_add_allocated_in_quotas.py
cinder/db/sqlalchemy/migrate_repo/versions/049_add_temp_volume_snapshot_ids_to_backups.py
cinder/db/sqlalchemy/migrate_repo/versions/050_add_previous_status_to_volumes.py
cinder/db/sqlalchemy/migrate_repo/versions/051_add_source_cgid_column_to_consistencygroups.py
cinder/db/sqlalchemy/migrate_repo/versions/052_add_provider_auth_column_to_snapshots.py
cinder/db/sqlalchemy/migrate_repo/versions/053_add_version_columns_to_service.py
cinder/db/sqlalchemy/migrate_repo/versions/054_add_has_dependent_backups_column_to_backups.py
cinder/db/sqlalchemy/migrate_repo/versions/055_add_image_volume_cache_table.py
cinder/db/sqlalchemy/migrate_repo/versions/056_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/057_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/058_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/059_placeholder.py
cinder/db/sqlalchemy/migrate_repo/versions/060_placeholder.py
cinder/tests/unit/test_cmd.py
cinder/tests/unit/test_migrations.py
cinder/tests/unit/test_misc.py