From b3c631f17b2386a9a07efac721250bbea47b789d Mon Sep 17 00:00:00 2001
From: lvessiller <lvessiller@open-dsi.fr>
Date: Thu, 12 Aug 2021 14:15:54 +0200
Subject: [PATCH] FIX correction nom de l'index a renommer lors de la migration

---
 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