Skip to content

Commit 08a9a05

Browse files
authored
Merge pull request #4553 from nextcloud/bugfix/noid/unique-index-name
2 parents e98eb90 + 0f2520c commit 08a9a05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Listeners/AddMissingIndicesListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public function handle(Event $event): void {
3838
return;
3939
}
4040

41-
$event->addMissingIndex('text_steps', 'ts_session', ['session_id']);
41+
$event->addMissingIndex('text_steps', 'textstep_session', ['session_id']);
4242
}
4343
}

lib/Migration/Version010000Date20190617184535.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
130130
$table->setPrimaryKey(['id']);
131131
$table->addIndex(['document_id'], 'rd_steps_did_idx');
132132
$table->addIndex(['version'], 'rd_steps_version_idx');
133-
$table->addIndex(['session_id'], 'ts_session');
133+
$table->addIndex(['session_id'], 'textstep_session');
134134
}
135135
return $schema;
136136
}

0 commit comments

Comments
 (0)