From 882fc42ea1671fbbffbb12d1a2ffaabc35a692e7 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Thu, 29 May 2014 20:39:51 +0200
Subject: [PATCH] Fix: 3.5 migration that was not complete. Second chance into
 3.6.

---
 htdocs/install/mysql/migration/3.5.0-3.6.0.sql | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/htdocs/install/mysql/migration/3.5.0-3.6.0.sql b/htdocs/install/mysql/migration/3.5.0-3.6.0.sql
index 176568def37..bc2a62ea929 100644
--- a/htdocs/install/mysql/migration/3.5.0-3.6.0.sql
+++ b/htdocs/install/mysql/migration/3.5.0-3.6.0.sql
@@ -1197,3 +1197,8 @@ create table llx_c_type_resource
 )ENGINE=innodb;
 
 ALTER TABLE llx_c_type_resource ADD UNIQUE INDEX uk_c_type_resource_id (label, code);
+
+-- Fix: Missing instruction not correctly done into 3.5
+-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_mode_reglement DROP NOT NULL;
+-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_cond_reglement DROP NOT NULL;
+
-- 
GitLab