Add indices to original DAV migration
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
aaff6a0242
commit
7961a0b446
|
@ -369,6 +369,7 @@ class Version1004Date20170825134824 extends SimpleMigrationStep {
|
||||||
'unsigned' => true,
|
'unsigned' => true,
|
||||||
]);
|
]);
|
||||||
$table->setPrimaryKey(['id']);
|
$table->setPrimaryKey(['id']);
|
||||||
|
$table->addIndex(['principaluri'], 'schedulobj_principuri_index');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$schema->hasTable('cards_properties')) {
|
if (!$schema->hasTable('cards_properties')) {
|
||||||
|
@ -444,6 +445,7 @@ class Version1004Date20170825134824 extends SimpleMigrationStep {
|
||||||
$table->addIndex(['objectid'], 'calendarobject_index');
|
$table->addIndex(['objectid'], 'calendarobject_index');
|
||||||
$table->addIndex(['name'], 'calendarobject_name_index');
|
$table->addIndex(['name'], 'calendarobject_name_index');
|
||||||
$table->addIndex(['value'], 'calendarobject_value_index');
|
$table->addIndex(['value'], 'calendarobject_value_index');
|
||||||
|
$table->addIndex(['calendarid', 'calendartype'], 'calendarobject_calid_index');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$schema->hasTable('dav_shares')) {
|
if (!$schema->hasTable('dav_shares')) {
|
||||||
|
|
Loading…
Reference in New Issue