diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-02-16 09:11:10 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-02-16 11:38:43 +0100 |
commit | 2ea3cb7c93efdfde1e161c162063213097f7614f (patch) | |
tree | 13af517011c59bcf6c178171699d86552d1dccea /apps/files_external/lib/Migration/Version1011Date20200630192246.php | |
parent | a649dff1795f6df7e70742bea5e45265903476d4 (diff) | |
download | nextcloud-server-2ea3cb7c93efdfde1e161c162063213097f7614f.tar.gz nextcloud-server-2ea3cb7c93efdfde1e161c162063213097f7614f.zip |
Drop redundant indes
Those indexes are already covered by others. So those can just be used.
THose extra indexes just take up space.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/lib/Migration/Version1011Date20200630192246.php')
-rw-r--r-- | apps/files_external/lib/Migration/Version1011Date20200630192246.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_external/lib/Migration/Version1011Date20200630192246.php b/apps/files_external/lib/Migration/Version1011Date20200630192246.php index 73e681ce2d1..f1f9ac4b6a5 100644 --- a/apps/files_external/lib/Migration/Version1011Date20200630192246.php +++ b/apps/files_external/lib/Migration/Version1011Date20200630192246.php @@ -96,7 +96,6 @@ class Version1011Date20200630192246 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['applicable_id']); $table->addIndex(['mount_id'], 'applicable_mount'); - $table->addIndex(['type', 'value'], 'applicable_type_value'); $table->addUniqueIndex(['type', 'value', 'mount_id'], 'applicable_type_value_mount'); } @@ -120,7 +119,6 @@ class Version1011Date20200630192246 extends SimpleMigrationStep { 'length' => 4096, ]); $table->setPrimaryKey(['config_id']); - $table->addIndex(['mount_id'], 'config_mount'); $table->addUniqueIndex(['mount_id', 'key'], 'config_mount_key'); } else { $table = $schema->getTable('external_config'); @@ -150,7 +148,6 @@ class Version1011Date20200630192246 extends SimpleMigrationStep { 'length' => 256, ]); $table->setPrimaryKey(['option_id']); - $table->addIndex(['mount_id'], 'option_mount'); $table->addUniqueIndex(['mount_id', 'key'], 'option_mount_key'); } return $schema; |