Add demo column to ir_module_module

bzr revid: ced-5a30786245ce32388ccc8aa18b37df0b68491c8a
This commit is contained in:
ced 2006-12-11 11:47:20 +00:00
parent 3a7b523cc5
commit 217c31249b
1 changed files with 9 additions and 0 deletions

View File

@ -93,4 +93,13 @@ def change_column(cr, table, column, new_type, copy):
change_column(cr, 'crm_case', 'date_closed', 'timestamp', True)
cr.commit()
# ----------------------------------------------------- #
# add some fields (which cannot be added automatically) #
# ----------------------------------------------------- #
for line in (
"ALTER TABLE ir_module_module ADD demo BOOLEAN SET DEFAULT False",
):
cr.execute(line)
cr.close()