summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorBoris Pavlovic <boris@pavlovic.me>2013-06-08 13:13:01 +0400
committerBoris Pavlovic <boris@pavlovic.me>2013-06-08 19:38:00 +0400
commit61fd1c40be7dbb8a0d86d68d49a1d007a2b9d7f6 (patch)
treeccda8350908eb10e454e70e3d70ce03970a6b9ff /nova/utils.py
parenteb49f3eb04b798a531f3a0a773cee7c30289a62b (diff)
downloadnova-61fd1c40be7dbb8a0d86d68d49a1d007a2b9d7f6.tar.gz
nova-61fd1c40be7dbb8a0d86d68d49a1d007a2b9d7f6.tar.xz
nova-61fd1c40be7dbb8a0d86d68d49a1d007a2b9d7f6.zip
Fix db.models.Instance description
DB models definition should be up-to-date with DB schema obtained after applying of migrations. Currently, there are no tests enforcing this and it's really hard to analyze what indexes should be added, and what indexes we have at the moment. So the first step is it to fix all models, and add missing descriptions about Indexes and UniqueConstraints in __table_args__ and use explicit 'nullable' parameter in columns description. Add missing 'nullable' parameters to all Columns Add empty __table_args__ parameter to Table Add 6 missing indexes in Instance model definition. blueprint db-sync-models-with-migrations Change-Id: I01025789f00dcf058754ee1def726e3b48ec7fda
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions