From d14c3945a7cb4a28521f1f02113a272a26351ec0 Mon Sep 17 00:00:00 2001
From: lvessiller <lvessiller@open-dsi.fr>
Date: Tue, 5 Oct 2021 17:01:58 +0200
Subject: [PATCH] FIX unique index demat archive file id

---
 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 804c17a..82d4acd 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('demat_archive_id_file');
         $table->addIndex(['id_file'], 'demat_archive_id_file');
 
         return $schema;
-- 
GitLab