From 50fcf95ecfb0fe010755d3ea214af2d8c6c2f437 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Nana?= <sebastien.nana@maarch.org>
Date: Tue, 13 Dec 2016 09:18:49 +0000
Subject: [PATCH] FIX #4973 add column tln_path et tnl_filename to attachments

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

diff --git a/core/trunk/sql/160.sql b/core/trunk/sql/160.sql
index cc99c8b2fb6..7267e60f43a 100644
--- a/core/trunk/sql/160.sql
+++ b/core/trunk/sql/160.sql
@@ -135,6 +135,12 @@ ALTER TABLE mlb_coll_ext ADD COLUMN recommendation_limit_date timestamp without
 ALTER TABLE res_attachments DROP COLUMN IF EXISTS effective_date;
 ALTER TABLE res_attachments ADD effective_date timestamp without time zone;
 
+ALTER TABLE res_attachments DROP COLUMN IF EXISTS tnl_path;
+ALTER TABLE res_attachments ADD tnl_path character varying(255);
+
+ALTER TABLE res_attachments DROP COLUMN IF EXISTS tnl_filename;
+ALTER TABLE res_attachments ADD tnl_filename character varying(255);
+
 ALTER TABLE res_version_attachments DROP COLUMN IF EXISTS effective_date;
 ALTER TABLE res_version_attachments ADD effective_date timestamp without time zone;
 
-- 
GitLab