MIGRATION: fix for psql 7.4

bzr revid: ced-4a87ee99a1a8af0d6a1eb3cacd5d229b0e179cbe
This commit is contained in:
ced 2007-02-05 10:00:15 +00:00
parent 840953821b
commit 59e8e4e7b1
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ if not cr.rowcount:
# ----------------------------------------------------- #
for line in (
"ALTER TABLE ir_module_module ADD demo BOOLEAN DEFAULT False",
"ALTER TABLE ir_module_module ADD demo BOOLEAN",
"ALTER TABLE ir_module_module SET demo DEFAULT False",
"DELETE FROM ir_values WHERE VALUE LIKE '%,False'",
"""UPDATE ir_ui_view set arch='<?xml version="1.0"?><tree string="Menu" toolbar="1"><field icon="icon" name="name"/></tree>' where name='ir.ui.menu.tree' and type='tree' and field_parent='child_id'""",
):