summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-12-21 13:02:25 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-21 13:03:02 +0100
commit16cc68a2fed58199486d10253995e09e966a2380 (patch)
tree420b2890296345ce0bdb25cbaaa3ff41d98c2b4a /core/Migrations
parentc2d75ddc4f48ed7b195680f30d975612aed6337c (diff)
downloadnextcloud-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.php1
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;