From cdebcbbe4e44bc42c8e47f20daa95663351b1f8e Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 6 Mar 2005 16:56:50 +0000 Subject: [PATCH] Set version at the end --- html/admin/sql/patch/upgrade4.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/admin/sql/patch/upgrade4.sql b/html/admin/sql/patch/upgrade4.sql index d794f828d..87fb587d3 100644 --- a/html/admin/sql/patch/upgrade4.sql +++ b/html/admin/sql/patch/upgrade4.sql @@ -31,7 +31,6 @@ delete from jrn_action where ja_name='Impression' or ja_name = 'Recherche'; delete from fiche where f_id not in (select f_id from jnt_fic_att_value); alter table jrn add j_pj int4; alter table jrn add jr_opid int4; -update version set val=5; alter table jrn add jr_c_opid int4; create SEQUENCE s_central_order; alter table centralized add c_order int4; @@ -45,3 +44,5 @@ update jrnx set j_centralized='f'; alter table parm_periode add p_central bool; alter table parm_periode alter p_central set default false; update parm_periode set p_central ='f'; +-- always last line +update version set val=5;