From 37a7007c03503e15f59e00a3ff172e780b185a43 Mon Sep 17 00:00:00 2001
From: lvessiller <lvessiller@open-dsi.fr>
Date: Fri, 15 Oct 2021 10:13:52 +0200
Subject: [PATCH] FIX drop index demat archive id file

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