mirror of
https://github.com/nextcloud/server.git
synced 2026-04-04 16:45:22 -04:00
Add missing mount_id index
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
fe80a65c3e
commit
76addfa44c
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
|
|||
'notnull' => false,
|
||||
'length' => 20,
|
||||
]);
|
||||
if (!$table->hasIndex('mounts_mount_id_index')) {
|
||||
$table->addIndex(['mount_id'], 'mounts_mount_id_index');
|
||||
}
|
||||
}
|
||||
|
||||
if (!$schema->hasTable('mimetypes')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue