diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-21 13:02:25 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-21 13:03:02 +0100 |
commit | 16cc68a2fed58199486d10253995e09e966a2380 (patch) | |
tree | 420b2890296345ce0bdb25cbaaa3ff41d98c2b4a /core/Migrations | |
parent | c2d75ddc4f48ed7b195680f30d975612aed6337c (diff) | |
download | nextcloud-server-16cc68a2fed58199486d10253995e09e966a2380.tar.gz nextcloud-server-16cc68a2fed58199486d10253995e09e966a2380.zip |
Add twofactor_providers_uid index
Fixes #12943
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version14000Date20180522074438.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version14000Date20180522074438.php b/core/Migrations/Version14000Date20180522074438.php index 28207d0b900..bb0de125f6f 100644 --- a/core/Migrations/Version14000Date20180522074438.php +++ b/core/Migrations/Version14000Date20180522074438.php @@ -55,6 +55,7 @@ class Version14000Date20180522074438 extends SimpleMigrationStep { 'length' => 1, ]); $table->setPrimaryKey(['provider_id', 'uid']); + $table->addIndex(['uid'], 'twofactor_providers_uid'); } return $schema; |