0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-06 01:20:16 +00:00
nextcloud_server/apps/dav/lib/Migration/Version1004Date20170926103422.php
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00

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'],
];
}
}