1
0

Version13000Date20170926101637.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OC\Core\Migrations;
  7. use OCP\Migration\BigIntMigration;
  8. /**
  9. * Auto-generated migration step: Please modify to your needs!
  10. */
  11. class Version13000Date20170926101637 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. 'admin_settings' => ['id'],
  20. 'authtoken' => ['id'],
  21. 'bruteforce_attempts' => ['id'],
  22. 'comments' => ['id', 'parent_id', 'topmost_parent_id'],
  23. // Disabled for now 'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart'],
  24. 'file_locks' => ['id'],
  25. 'jobs' => ['id'],
  26. // Disabled for now 'mimetypes' => ['id'],
  27. 'mounts' => ['id'],
  28. 'personal_settings' => ['id'],
  29. 'properties' => ['id'],
  30. 'share' => ['id', 'parent', 'file_source'],
  31. // Disabled for now 'storages' => ['numeric_id'],
  32. 'systemtag' => ['id'],
  33. 'systemtag_group' => ['systemtagid'],
  34. 'systemtag_object_mapping' => ['systemtagid'],
  35. 'vcategory' => ['id'],
  36. 'vcategory_to_object' => ['objid', 'categoryid'],
  37. ];
  38. }
  39. }