diff options
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Migration')
-rw-r--r-- | apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php new file mode 100644 index 00000000000..60fbcf796ed --- /dev/null +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php @@ -0,0 +1,25 @@ +<?php +namespace OCA\TwoFactorBackupCodes\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 Version1002Date20170919101419 extends BigIntMigration { + + /** + * @return array Returns an array with the following structure + * ['table1' => ['column1', 'column2'], ...] + * @since 13.0.0 + */ + protected function getColumnsByTable() { + return [ + 'twofactor_backupcodes' => ['id'], + ]; + } + +} |