summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170825134824.php2
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')) {