зеркало из https://github.com/nextcloud/text.git
Merge pull request #4553 from nextcloud/bugfix/noid/unique-index-name
This commit is contained in:
Коммит
08a9a055b6
|
@ -38,6 +38,6 @@ class AddMissingIndicesListener implements IEventListener {
|
|||
return;
|
||||
}
|
||||
|
||||
$event->addMissingIndex('text_steps', 'ts_session', ['session_id']);
|
||||
$event->addMissingIndex('text_steps', 'textstep_session', ['session_id']);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ class Version010000Date20190617184535 extends SimpleMigrationStep {
|
|||
$table->setPrimaryKey(['id']);
|
||||
$table->addIndex(['document_id'], 'rd_steps_did_idx');
|
||||
$table->addIndex(['version'], 'rd_steps_version_idx');
|
||||
$table->addIndex(['session_id'], 'ts_session');
|
||||
$table->addIndex(['session_id'], 'textstep_session');
|
||||
}
|
||||
return $schema;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче