Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Version1004Date20170926103422.php « Migration « lib « dav « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76adc8fe6a101d685dc995de1c3ca1ffd2083ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace OCA\DAV\Migration;

use Doctrine\DBAL\Schema\Schema;
use OCP\Migration\BigIntMigration;
use OCP\Migration\SimpleMigrationStep;
use OCP\Migration\IOutput;

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

}