Переглянути джерело

Add missing mount_id index

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v21.0.0beta1
Julius Härtl 3 роки тому
джерело
коміт
76addfa44c
Аккаунт користувача з таким Email не знайдено

+ 3
- 0
core/Migrations/Version13000Date20170718121200.php Переглянути файл

@@ -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')) {

Завантаження…
Відмінити
Зберегти