You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/apps/dav/lib/Migration/Version1004Date201709261034...

36 lines
1.0 KiB

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