]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
use TRUE in SQL for boolean var
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 11 Sep 2014 09:09:21 +0000 (11:09 +0200)
committerBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 11 Sep 2014 14:13:53 +0000 (16:13 +0200)
commitb030300b1687b853a95b6bd2e706045f549d1e50
treeb8578aa24bce02be993cf61b3cf1edbae68ff580
parenta625ea724f7855ce9f72e1f266637ee186e97ff6
use TRUE in SQL for boolean var

The "allocated" variable was defined to be a boolean type
and in postgresql this type is enforced,
while in mysql this just maps to tinyint and accepts both numbers and bools

Closes-Bug: #1368251
Change-Id: If324c8b83e490e150085d044ac61360b647522ac
neutron/db/migration/migrate_to_ml2.py