The cinder.db.sqlalchemy.migrate_repo.versions.047_add_per_volume_quota Module

downgrade(migrate_engine)

Downgrade.

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 “per_volume_gigabytes” row into DB.

Previous topic

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

Next topic

The cinder.db.sqlalchemy.migrate_repo.versions.048_add_allocated_in_quotas Module

Project Source

This Page