diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-03-03 13:10:41 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-03-03 13:10:41 +0100 |
commit | 7961a0b446c1f034f775d0c715a1692ca08646de (patch) | |
tree | 0246728d29eb7381ea31cc25839baacd3f959538 /apps/dav | |
parent | aaff6a024239a172894e1fe1ca2f90242a698e9f (diff) | |
download | nextcloud-server-7961a0b446c1f034f775d0c715a1692ca08646de.tar.gz nextcloud-server-7961a0b446c1f034f775d0c715a1692ca08646de.zip |
Add indices to original DAV migration
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Migration/Version1004Date20170825134824.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index 81107a7c750..10e6028ba1a 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -369,6 +369,7 @@ class Version1004Date20170825134824 extends SimpleMigrationStep { 'unsigned' => true, ]); $table->setPrimaryKey(['id']); + $table->addIndex(['principaluri'], 'schedulobj_principuri_index'); } if (!$schema->hasTable('cards_properties')) { @@ -444,6 +445,7 @@ class Version1004Date20170825134824 extends SimpleMigrationStep { $table->addIndex(['objectid'], 'calendarobject_index'); $table->addIndex(['name'], 'calendarobject_name_index'); $table->addIndex(['value'], 'calendarobject_value_index'); + $table->addIndex(['calendarid', 'calendartype'], 'calendarobject_calid_index'); } if (!$schema->hasTable('dav_shares')) { |