]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove unused columns from Service ORM model
authorMichał Dulko <michal.dulko@intel.com>
Tue, 16 Feb 2016 14:16:02 +0000 (15:16 +0100)
committerMichał Dulko <michal.dulko@intel.com>
Mon, 29 Feb 2016 11:25:08 +0000 (12:25 +0100)
commit7eaf6db06d8a8da7685e5a5d6e32313741e2cfbd
tree2d756bfb527480f0e4f164d93fc0ae238773457d
parent4d093d4eca67774e8b5973646b3e61552254bc53
Remove unused columns from Service ORM model

rpc_available_version and object_available_version columns were part of
previous design of our RPC API compatibility layer. We've decided to go
in a little different direction so these two are currently unused.

With our live-schema-upgrades guidelines (related to rolling upgrades
support) it's a lot easier to readd something to the DB than to drop it.
Let's take the chance to actually drop these unused DB columns in early
Newton. To do that we need to remove them from the SQLAlchemy model in
Mitaka and this commit does so.

Change-Id: I3b7588214863ed008a0783167580953c22f58e99
Related-Blueprint: rpc-object-compatibility
cinder/db/sqlalchemy/models.py