From f2acb048cc42d19626d2a2db37ad4ab272415d4e Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Thu, 18 Sep 2014 18:02:22 +0200
Subject: [PATCH] Qual: Uniformize fields name.

---
 htdocs/install/mysql/migration/3.6.0-3.7.0.sql | 3 +++
 htdocs/install/mysql/tables/llx_fichinter.sql  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/htdocs/install/mysql/migration/3.6.0-3.7.0.sql b/htdocs/install/mysql/migration/3.6.0-3.7.0.sql
index e6b8e526bf2..635154768bb 100644
--- a/htdocs/install/mysql/migration/3.6.0-3.7.0.sql
+++ b/htdocs/install/mysql/migration/3.6.0-3.7.0.sql
@@ -20,6 +20,9 @@
 
 
 
+ALTER TABLE llx_fichinter ADD COLUMN ref_ext 	varchar(255);
+
+
 -- Defined only to have specific list for countries that can't use generic list (like argentina that need type A or B)
 ALTER TABLE llx_c_typent ADD COLUMN fk_country integer NULL AFTER libelle;
 
diff --git a/htdocs/install/mysql/tables/llx_fichinter.sql b/htdocs/install/mysql/tables/llx_fichinter.sql
index b2397b2d2c3..242710a0993 100644
--- a/htdocs/install/mysql/tables/llx_fichinter.sql
+++ b/htdocs/install/mysql/tables/llx_fichinter.sql
@@ -24,6 +24,7 @@ create table llx_fichinter
   fk_projet			integer DEFAULT 0,          -- projet auquel est rattache la fiche
   fk_contrat		integer DEFAULT 0,          -- contrat auquel est rattache la fiche
   ref				varchar(30) NOT NULL,       -- number
+  ref_ext			varchar(255),
   entity			integer DEFAULT 1 NOT NULL, -- multi company id
   tms				timestamp,
   datec				datetime,                   -- date de creation 
-- 
GitLab