summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-06 09:44:34 +0200
committerGitHub <noreply@github.com>2020-04-06 09:44:34 +0200
commit9a4193f557f7c503a13903d165c55ead22c9b129 (patch)
treefdfbbed04357234c056b91f1f439900b5a2b5e81 /apps
parentd25885441e8a39ab198bf7137ff3b32f8c0e908d (diff)
parent79dcd34a071d621a41a84448bbf5c66fd21b9c03 (diff)
downloadnextcloud-server-9a4193f557f7c503a13903d165c55ead22c9b129.tar.gz
nextcloud-server-9a4193f557f7c503a13903d165c55ead22c9b129.zip
Merge pull request #19761 from nextcloud/bugfix/19658/add_missing_index_to_original_migration
Add missing index to original migration
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170825134824.php1
-rw-r--r--apps/dav/lib/Migration/Version1006Date20180628111625.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php
index 81107a7c750..d25e387e32e 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')) {
diff --git a/apps/dav/lib/Migration/Version1006Date20180628111625.php b/apps/dav/lib/Migration/Version1006Date20180628111625.php
index a09bb070d88..08a5951d8df 100644
--- a/apps/dav/lib/Migration/Version1006Date20180628111625.php
+++ b/apps/dav/lib/Migration/Version1006Date20180628111625.php
@@ -92,6 +92,7 @@ class Version1006Date20180628111625 extends SimpleMigrationStep {
$calendarObjectsPropsTable->addIndex(['objectid', 'calendartype'], 'calendarobject_index');
$calendarObjectsPropsTable->addIndex(['name', 'calendartype'], 'calendarobject_name_index');
$calendarObjectsPropsTable->addIndex(['value', 'calendartype'], 'calendarobject_value_index');
+ $calendarObjectsPropsTable->addIndex(['calendarid', 'calendartype'], 'calendarobject_calid_index');
}
if ($schema->hasTable('calendarsubscriptions')) {