[FIX] base: do not drop sql constraints during update
[odoo/odoo.git] / openerp / addons / base / base.sql
index 9b42bac..2547a73 100644 (file)
@@ -140,6 +140,7 @@ CREATE TABLE ir_model_constraint (
     module integer NOT NULL references ir_module_module on delete restrict,
     model integer NOT NULL references ir_model on delete restrict,
     type character varying(1) NOT NULL,
+    definition varchar,
     name varchar NOT NULL,
     primary key(id)
 );