From 348d9cba06ddd28e757e237cdb94955737a54c33 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 5 Feb 2019 13:00:34 +0100 Subject: [PATCH] Fix authtoken index length Signed-off-by: Roeland Jago Douma --- core/Migrations/Version13000Date20170718121200.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index c1989ff606..4c5fb7b9b0 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -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')) {