From 3a0217b3b14e357608abef6a76d64385176cba19 Mon Sep 17 00:00:00 2001
From: lvessiller <lvessiller@open-dsi.fr>
Date: Tue, 5 Oct 2021 16:57:36 +0200
Subject: [PATCH] FIX index in dematpayslip archive table

---
 lib/Migration/Version030102Date20210812020000.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Migration/Version030102Date20210812020000.php b/lib/Migration/Version030102Date20210812020000.php
index d45ac7c..804c17a 100644
--- a/lib/Migration/Version030102Date20210812020000.php
+++ b/lib/Migration/Version030102Date20210812020000.php
@@ -31,7 +31,7 @@ class Version030102Date20210812020000 extends SimpleMigrationStep {
 
         $table = $schema->getTable('dematpayslip_archive');
 
-        $table->dropIndex('dematpayslip_archive_id_file');
+        //$table->dropIndex('dematpayslip_archive_id_file');
         $table->addIndex(['id_file'], 'demat_archive_id_file');
 
         return $schema;
-- 
GitLab