diff options
author | Daniel <mail@danielkesselberg.de> | 2025-04-24 13:33:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 13:33:37 +0200 |
commit | cc5ca5881638b51f9dc62bc21b09891aa22ea908 (patch) | |
tree | 0fddbbea3bac9d83031d8d6ea3433948a9f129e2 /apps | |
parent | 0051db7a438c5e8f85de16e2ddb6e7459f2e47b7 (diff) | |
parent | 8388646ae77a5ae7b53e5ce20958f156c32f87c4 (diff) | |
download | nextcloud-server-cc5ca5881638b51f9dc62bc21b09891aa22ea908.tar.gz nextcloud-server-cc5ca5881638b51f9dc62bc21b09891aa22ea908.zip |
Merge pull request #51438 from nextcloud/perf/db/cards-properties-abid-name-value-idx
perf(db): Extend index on cards_properties to cover name and value
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Migration/Version1004Date20170924124212.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php index a8b85469214..fbfec7e8e2d 100644 --- a/apps/dav/lib/Migration/Version1004Date20170924124212.php +++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php @@ -28,7 +28,10 @@ class Version1004Date20170924124212 extends SimpleMigrationStep { $table->addIndex(['addressbookid', 'uri'], 'cards_abiduri'); $table = $schema->getTable('cards_properties'); - $table->addIndex(['addressbookid'], 'cards_prop_abid'); + // Removed later on + // $table->addIndex(['addressbookid'], 'cards_prop_abid'); + // Added later on + $table->addIndex(['addressbookid', 'name', 'value'], 'cards_prop_abid_name_value', ); return $schema; } |