]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix authtoken index length 14025/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 5 Feb 2019 12:00:34 +0000 (13:00 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 5 Feb 2019 12:00:34 +0000 (13:00 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
core/Migrations/Version13000Date20170718121200.php

index c1989ff606ed68b8bcc3fcfd254a1eaadb71d687..4c5fb7b9b020fa6b3686ca5d5dd56ad3acebfebc 100644 (file)
@@ -523,7 +523,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
                        ]);
                        $table->setPrimaryKey(['id']);
                        $table->addUniqueIndex(['token'], 'authtoken_token_index');
-                       $table->addIndex(['last_activity'], 'authtoken_last_activity_index');
+                       $table->addIndex(['last_activity'], 'authtoken_last_activity_idx');
                }
 
                if (!$schema->hasTable('bruteforce_attempts')) {