The cinder.db.sqlalchemy.migrate_repo.versions.026_add_consistencygroup_quota_class Module

downgrade(migrate_engine)

Don’t delete the ‘default’ entries at downgrade time.

We don’t know if the user had default entries when we started. If they did, we wouldn’t want to remove them. So, the safest thing to do is just leave the ‘default’ entries at downgrade time.

upgrade(migrate_engine)

Add default quota class data into DB.

Previous topic

The cinder.db.sqlalchemy.migrate_repo.versions.025_add_consistencygroup Module

Next topic

The cinder.db.sqlalchemy.migrate_repo.versions.027_placeholder Module

Project Source

This Page