From c58ff2990e2a15a69be0e5487a5c6fa3458ac0bd Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 19 Sep 2017 12:31:49 +0200 Subject: [PATCH] Migrate the twofactor_backupcodes app to bigint Signed-off-by: Joas Schilling --- apps/twofactor_backupcodes/appinfo/info.xml | 2 +- .../Version1002Date20170919101419.php | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php diff --git a/apps/twofactor_backupcodes/appinfo/info.xml b/apps/twofactor_backupcodes/appinfo/info.xml index 0002d0dcf0..18728a7047 100644 --- a/apps/twofactor_backupcodes/appinfo/info.xml +++ b/apps/twofactor_backupcodes/appinfo/info.xml @@ -5,7 +5,7 @@ A two-factor auth backup codes provider agpl Christoph Wurst - 1.2.2 + 1.2.3 TwoFactorBackupCodes other diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php new file mode 100644 index 0000000000..60fbcf796e --- /dev/null +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919101419.php @@ -0,0 +1,25 @@ + ['column1', 'column2'], ...] + * @since 13.0.0 + */ + protected function getColumnsByTable() { + return [ + 'twofactor_backupcodes' => ['id'], + ]; + } + +}