summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorBoris Pavlovic <boris@pavlovic.me>2013-05-06 17:36:15 +0400
committerBoris Pavlovic <boris@pavlovic.me>2013-05-09 01:20:13 +0400
commita9b8fbc0e963bc81c4f4dc47dfcc9f31f3d8ef2e (patch)
tree8b3bdfb0c1608c809de8579c94751c0578d200e0 /nova/utils.py
parent4ce8f2a6a9d4644153b4ba532ca1b78665507d6a (diff)
downloadnova-a9b8fbc0e963bc81c4f4dc47dfcc9f31f3d8ef2e.tar.gz
nova-a9b8fbc0e963bc81c4f4dc47dfcc9f31f3d8ef2e.tar.xz
nova-a9b8fbc0e963bc81c4f4dc47dfcc9f31f3d8ef2e.zip
Add sqlalchemy migration utils.check_shadow_table method
This method check that our table with name `xxx`: 1) Has shadow table `shadow_xxx` 2) All columns in `xxx` are also in `shadow_xxx` (with same type) 3) There is no extra columns in `shadow_xxx` Will be used to check that all shadow tables are up-to-date. blueprint db-improve-archiving Change-Id: I0b366afe1b7d8703ab9c49a68977202b82d844fc
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions