glance/glance/db/sqlalchemy
Hemanth Makkapati 9859df2d1f Add expand/migrate/contract migrations for CI
This patch adds equivalent expand/migrate/contract migration scripts for
Community Images. The expand migration
'ocata_expand01_add_visibility.py' creates a new migration branch 'expand'
from the last known migration i.e., 'mitaka02'. Similarly, the contract
migration 'ocata_contract01_drop_is_public.py' creates another new
migration branch called 'contract' from the last known migration.

The data migration 'ocata_migrate01_community_images.py' migrates
all rows in the database at once. There is possibility of performance
degradation while the data migrations are running.

Change-Id: I34f5623d6804e9fe594e6b5b196ea4a162578196
Partially-Implements: blueprint database-strategy-for-rolling-upgrades
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
Depends-On: Ie839e0f240436dce7b151de5b464373516ff5a64
2017-02-02 00:16:04 +00:00
..
alembic_migrations Add expand/migrate/contract migrations for CI 2017-02-02 00:16:04 +00:00
metadef_api Python 3: fix glance.tests.functional.db.test_sqlalchemy 2016-12-01 17:42:12 +01:00
migrate_repo Refine migration query added with CI change 2017-01-29 19:37:20 +00:00
__init__.py Create 'simple' db driver 2012-06-07 09:20:50 -07:00
api.py Fix regression introduced by Community Images 2017-01-20 22:37:28 +00:00
glare.py Python 3: fix glance.tests.functional.db.test_sqlalchemy 2016-12-01 17:42:12 +01:00
metadata.py Added overwrite warning for db_export_metadefs. 2016-11-08 16:46:49 +00:00
models.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
models_glare.py Move Glance Artifact Repository API to separate endpoint 2016-02-10 18:34:55 +03:00
models_metadef.py Replace oslo_utils.timeutils 2015-12-10 10:53:46 +00:00