diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-08 02:12:22 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-03-08 23:36:03 +0400 |
commit | 47c7454d1b8926040577f77822729463d42ed635 (patch) | |
tree | 7c2726e3bdb1c3cb5e63b358b06aa073021432b5 /nova/context.py | |
parent | e23769827dbd5c9eb9d392e6452ca33253f88329 (diff) | |
download | nova-47c7454d1b8926040577f77822729463d42ed635.tar.gz nova-47c7454d1b8926040577f77822729463d42ed635.tar.xz nova-47c7454d1b8926040577f77822729463d42ed635.zip |
Make bm model's deleted column match database
In Models by default type of deleted column is Integer, but bm tabels
use Boolean type for deleted columns.This produce bug in postgresql
(type mismatch).
At this moment we are not able to do any db migrations, so there is
only one way to fix this bug. Change type of deleted columns in Models
from Integer to Boolean.
In Havana we will be able to change deleted columns types to type of id
for bm tables and use soft_delete and UC as in rest of nova.
Fixes bug 1140294
Change-Id: Id56c4bbff7048ed5c746dc995380be9ba0a12c39
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions