From 881678ce0bd16fe59eea00bcdb48faa525530da2 Mon Sep 17 00:00:00 2001
From: Alex Orluc <alex.orluc@maarch.org>
Date: Wed, 15 Jun 2016 18:10:36 +0000
Subject: [PATCH] FEAT #0000 update sql

---
 core/trunk/sql/160.sql | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/core/trunk/sql/160.sql b/core/trunk/sql/160.sql
index 7611600bf0c..cc943a68c38 100644
--- a/core/trunk/sql/160.sql
+++ b/core/trunk/sql/160.sql
@@ -145,6 +145,13 @@ ALTER TABLE res_version_attachments ADD effective_date timestamp without time zo
 ALTER TABLE notes ALTER COLUMN date_note TYPE timestamp without time zone;
 
 
+-- ************************************************************************* --
+--                      NOUVEAU STATUS TRANSMISSION                          --
+-- ************************************************************************* --
+INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES('EXP_RTURN', 'Retour attendu', 'N', 'N', '', 'apps','Y', 'Y');
+INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES('NO_RTURN', 'Pas de retour', 'N', 'N', '', 'apps','Y', 'Y');
+INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES('RTURN', 'Retourné', 'N', 'N', '', 'apps','Y', 'Y');
+
 -- view for letterbox
 CREATE VIEW res_view_letterbox AS
     SELECT r.tablename, r.is_multi_docservers, r.res_id, r.type_id, r.policy_id, r.cycle_id, 
@@ -383,4 +390,5 @@ CREATE VIEW res_view_attachments AS
 -- ************************************************************************* --
 --                               DATABASE VERSION                            --
 -- ************************************************************************* --
-UPDATE parameters SET param_value_int = 160 where id='database_version';
\ No newline at end of file
+UPDATE parameters SET param_value_int = 160 where id='database_version';
+
-- 
GitLab