Skip to content
Snippets Groups Projects
Commit 7acabcc2 authored by VESSILLER's avatar VESSILLER
Browse files

FIX old index name

parent fafba684
Branches master_v20
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ class Version030102Date20210812020000 extends SimpleMigrationStep { ...@@ -33,6 +33,7 @@ class Version030102Date20210812020000 extends SimpleMigrationStep {
// old indexes remain in SITIV database // old indexes remain in SITIV database
if ($table->hasIndex('dematpayslip_archive_pastell_id_document')) { if ($table->hasIndex('dematpayslip_archive_pastell_id_document')) {
$table->dropIndex('dematpayslip_archive_pastell_id_document');
$table->addUniqueIndex(['pastell_id_document'], 'demat_archive_pastell_id_doc'); $table->addUniqueIndex(['pastell_id_document'], 'demat_archive_pastell_id_doc');
} }
if ($table->hasIndex('dematpayslip_archive_id_user')) { if ($table->hasIndex('dematpayslip_archive_id_user')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment