aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-25 21:23:30 +0100
committerGitHub <noreply@github.com>2019-02-25 21:23:30 +0100
commit01d5cc1e7a5c20428d3c3d02daa4fbf99af00212 (patch)
treed9bc0a0d3dacaca3b279fca9a0c34babb3699135 /core
parentee68e8f47e064a8d5a47e49dfd1dadb5d001b9d4 (diff)
parent348d9cba06ddd28e757e237cdb94955737a54c33 (diff)
downloadnextcloud-server-01d5cc1e7a5c20428d3c3d02daa4fbf99af00212.tar.gz
nextcloud-server-01d5cc1e7a5c20428d3c3d02daa4fbf99af00212.zip
Merge pull request #14025 from nextcloud/fix/authtoken_idx_length
Fix authtoken index length
Diffstat (limited to 'core')
-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')) {