Version1004Date20170926103422.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCA\DAV\Migration;
  7. use OCP\Migration\BigIntMigration;
  8. /**
  9. * Auto-generated migration step: Please modify to your needs!
  10. */
  11. class Version1004Date20170926103422 extends BigIntMigration {
  12. /**
  13. * @return array Returns an array with the following structure
  14. * ['table1' => ['column1', 'column2'], ...]
  15. * @since 13.0.0
  16. */
  17. protected function getColumnsByTable() {
  18. return [
  19. 'addressbooks' => ['id'],
  20. 'addressbookchanges' => ['id', 'addressbookid'],
  21. 'calendars' => ['id'],
  22. 'calendarchanges' => ['id', 'calendarid'],
  23. 'calendarobjects' => ['id', 'calendarid'],
  24. 'calendarobjects_props' => ['id', 'calendarid', 'objectid'],
  25. 'calendarsubscriptions' => ['id'],
  26. 'cards' => ['id', 'addressbookid'],
  27. 'cards_properties' => ['id', 'addressbookid', 'cardid'],
  28. 'dav_shares' => ['id', 'resourceid'],
  29. 'schedulingobjects' => ['id'],
  30. ];
  31. }
  32. }