From d375987b5db02ed09cfc08796fe2f97b09f03a00 Mon Sep 17 00:00:00 2001
From: Florian Azizian <florian.azizian@maarch.org>
Date: Thu, 19 Mar 2015 15:49:42 +0000
Subject: [PATCH] FEAT #1432 structure for visa module

---
 core/trunk/sql/150.sql       | 5 ++++-
 core/trunk/sql/structure.sql | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/core/trunk/sql/150.sql b/core/trunk/sql/150.sql
index f9534c79f8c..d428fab5d72 100644
--- a/core/trunk/sql/150.sql
+++ b/core/trunk/sql/150.sql
@@ -237,6 +237,9 @@ ALTER TABLE lc_stack ADD COLUMN regex character varying(32);
 ALTER TABLE res_letterbox DROP COLUMN IF EXISTS confidentiality; 
 ALTER TABLE res_letterbox ADD confidentiality character(1);
 
+ALTER TABLE listinstance DROP COLUMN IF EXISTS process_comment;
+ALTER TABLE listinstance ADD process_comment character varying(255);
+
 DROP TABLE IF EXISTS listinstance_history;
 DROP SEQUENCE IF EXISTS listinstance_history_id_seq;
 CREATE SEQUENCE listinstance_history_id_seq
@@ -283,7 +286,7 @@ visible character varying(1) NOT NULL DEFAULT 'Y'::bpchar,
 viewed bigint,
 difflist_type character varying(50),
 process_date timestamp without time zone,
-process_comment timestamp without time zone,
+process_comment character varying(255),
 CONSTRAINT listinstance_history_details_pkey PRIMARY KEY (listinstance_history_details_id)
 ) WITH ( OIDS=FALSE );
 
diff --git a/core/trunk/sql/structure.sql b/core/trunk/sql/structure.sql
index 8a9d4345881..c8d3c73a8ae 100644
--- a/core/trunk/sql/structure.sql
+++ b/core/trunk/sql/structure.sql
@@ -830,7 +830,7 @@ CREATE TABLE listinstance
   viewed bigint,
   difflist_type character varying(50),
   process_date timestamp without time zone,
-  process_comment timestamp without time zone,
+  process_comment character varying(255),
   CONSTRAINT listinstance_pkey PRIMARY KEY (listinstance_id)
 )
 WITH (OIDS=FALSE);
@@ -3544,7 +3544,7 @@ visible character varying(1) NOT NULL DEFAULT 'Y'::bpchar,
 viewed bigint,
 difflist_type character varying(50),
 process_date timestamp without time zone,
-process_comment timestamp without time zone,
+process_comment character varying(255),
 CONSTRAINT listinstance_history_details_pkey PRIMARY KEY (listinstance_history_details_id)
 ) WITH ( OIDS=FALSE );
 
-- 
GitLab