server/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php
Joas Schilling 4a5282ba21
Fix the type hints of migrations and correctly inject the wrapped schema into migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-17 11:37:36 +01:00

22 lines
463 B
PHP

<?php
namespace OCA\TwoFactorBackupCodes\Migration;
use OCP\Migration\BigIntMigration;
/**
* Auto-generated migration step: Please modify to your needs!
*/
class Version1002Date20170926101419 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'],
];
}
}