mirror of
https://github.com/nextcloud/server.git
synced 2025-02-06 01:20:16 +00:00
af6de04e9e
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
35 lines
1 KiB
PHP
35 lines
1 KiB
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\DAV\Migration;
|
|
|
|
use OCP\Migration\BigIntMigration;
|
|
|
|
/**
|
|
* Auto-generated migration step: Please modify to your needs!
|
|
*/
|
|
class Version1004Date20170926103422 extends BigIntMigration {
|
|
|
|
/**
|
|
* @return array Returns an array with the following structure
|
|
* ['table1' => ['column1', 'column2'], ...]
|
|
* @since 13.0.0
|
|
*/
|
|
protected function getColumnsByTable() {
|
|
return [
|
|
'addressbooks' => ['id'],
|
|
'addressbookchanges' => ['id', 'addressbookid'],
|
|
'calendars' => ['id'],
|
|
'calendarchanges' => ['id', 'calendarid'],
|
|
'calendarobjects' => ['id', 'calendarid'],
|
|
'calendarobjects_props' => ['id', 'calendarid', 'objectid'],
|
|
'calendarsubscriptions' => ['id'],
|
|
'cards' => ['id', 'addressbookid'],
|
|
'cards_properties' => ['id', 'addressbookid', 'cardid'],
|
|
'dav_shares' => ['id', 'resourceid'],
|
|
'schedulingobjects' => ['id'],
|
|
];
|
|
}
|
|
}
|