Add demo column to ir_module_module
bzr revid: ced-5a30786245ce32388ccc8aa18b37df0b68491c8a
This commit is contained in:
parent
3a7b523cc5
commit
217c31249b
|
@ -93,4 +93,13 @@ def change_column(cr, table, column, new_type, copy):
|
||||||
change_column(cr, 'crm_case', 'date_closed', 'timestamp', True)
|
change_column(cr, 'crm_case', 'date_closed', 'timestamp', True)
|
||||||
cr.commit()
|
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()
|
cr.close()
|
||||||
|
|
Loading…
Reference in New Issue