Browse Source

Add indices to original DAV migration

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
tags/v19.0.0beta2
Georg Ehrke 4 years ago
parent
commit
7961a0b446
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      apps/dav/lib/Migration/Version1004Date20170825134824.php

+ 2
- 0
apps/dav/lib/Migration/Version1004Date20170825134824.php View File

@@ -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')) {

Loading…
Cancel
Save