]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Added UUID as primary key for Encryption model
authorIvan Kolodyazhny <e0ne@e0ne.info>
Thu, 4 Sep 2014 10:24:12 +0000 (13:24 +0300)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Tue, 16 Dec 2014 21:21:33 +0000 (21:21 +0000)
commita21979c1230edb80a08b3bdd6083b2b088cc6aa1
tree672cd85c3326fece558a188c835db232200314d2
parenteda3625f53975a9b0192b67305d43caca4970df5
Added UUID as primary key for Encryption model

volume_type_id could not be used as PK because
soft deletes are using for Encryption

Change-Id: I5c4423da4442f2458417dc3492750412a74ebe09
Closes-Bug: #1316540
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/033_add_encryption_unique_key.py [new file with mode: 0644]
cinder/db/sqlalchemy/migrate_repo/versions/033_sqlite_downgrade.sql [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/tests/test_db_api.py
cinder/tests/test_migrations.py
cinder/tests/test_volume_types.py