Skip to content

Commit 4cbb9ac

Browse files
authored
Merge pull request #74 from LibreCodeCoop/fix/issue-65-index-name-too-long
fix(migration): shorten index name for DB compatibility
2 parents 3af0b01 + 2a5389c commit 4cbb9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Migration/Version1000Date20260309120000.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
6666

6767
$table->setPrimaryKey(['id']);
6868
$table->addUniqueIndex(['field_key'], 'profile_fields_def_key_uk');
69-
$table->addIndex(['active', 'sort_order'], 'profile_fields_def_active_order_idx');
69+
$table->addIndex(['active', 'sort_order'], 'pf_def_active_sort_idx');
7070
}
7171

7272
if (!$schema->hasTable('profile_fields_values')) {

0 commit comments

Comments
 (0)