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

FIX old index name

parent fafba684
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ class Version030102Date20210812020000 extends SimpleMigrationStep {
// old indexes remain in SITIV database
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');
}
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