summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-02-05 13:00:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-05 13:00:34 +0100
commit348d9cba06ddd28e757e237cdb94955737a54c33 (patch)
treea2d2cd10b7829552d135482e110aaafa53019314 /core/Migrations
parent0bb55f4ed3e0fe38951be929fb5183fd834f5a81 (diff)
downloadnextcloud-server-348d9cba06ddd28e757e237cdb94955737a54c33.tar.gz
nextcloud-server-348d9cba06ddd28e757e237cdb94955737a54c33.zip
Fix authtoken index length
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index c1989ff606e..4c5fb7b9b02 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')) {