Version1002Date20170926101419.php 617 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\TwoFactorBackupCodes\Migration;
  8. use OCP\Migration\BigIntMigration;
  9. /**
  10. * Auto-generated migration step: Please modify to your needs!
  11. */
  12. class Version1002Date20170926101419 extends BigIntMigration {
  13. /**
  14. * @return array Returns an array with the following structure
  15. * ['table1' => ['column1', 'column2'], ...]
  16. * @since 13.0.0
  17. */
  18. protected function getColumnsByTable() {
  19. return [
  20. 'twofactor_backupcodes' => ['id'],
  21. ];
  22. }
  23. }