From 98ce241f6ed643ea479590cea325396795fa9525 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 6 Jul 2010 20:08:57 +0000 Subject: [PATCH] qp_internal and qs_internal are not null --- html/admin/sql/patch/upgrade84.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/admin/sql/patch/upgrade84.sql b/html/admin/sql/patch/upgrade84.sql index a5a4f7729..a050d579c 100644 --- a/html/admin/sql/patch/upgrade84.sql +++ b/html/admin/sql/patch/upgrade84.sql @@ -23,6 +23,8 @@ ALTER TABLE jrn_rapt ON UPDATE cascade ON DELETE cascade; ALTER TABLE attr_def ADD COLUMN ad_type text; +alter table quant_sold alter qs_internal drop not null; +alter table quant_purchase alter qp_internal drop not null; update attr_def set ad_type='text'; update attr_def set ad_type='numeric' where ad_id in (6,7,8,11,21,22);