From 82dea3d4fabdd4deb5d2728794243354f54593e3 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 1 Mar 2005 21:26:09 +0000 Subject: [PATCH] parm_periode has now a new column to check if a periode is centralized or only closed --- html/admin/sql/patch/upgrade4.sql | 3 +++ include/central_inc.php | 6 +++--- include/preference.php | 31 ++++++++++++------------------- 3 files changed, 18 insertions(+), 22 deletions(-) diff --git a/html/admin/sql/patch/upgrade4.sql b/html/admin/sql/patch/upgrade4.sql index 54ac357d1..d794f828d 100644 --- a/html/admin/sql/patch/upgrade4.sql +++ b/html/admin/sql/patch/upgrade4.sql @@ -42,3 +42,6 @@ delete from centralized; create sequence s_internal; select setval('s_centralized',1,false); 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'; diff --git a/include/central_inc.php b/include/central_inc.php index 7f28620d3..eb03bcba0 100644 --- a/include/central_inc.php +++ b/include/central_inc.php @@ -1,6 +1,4 @@