Skip to content

Commit

Permalink
Merge pull request #14025 from nextcloud/fix/authtoken_idx_length
Browse files Browse the repository at this point in the history
Fix authtoken index length
  • Loading branch information
MorrisJobke authored Feb 25, 2019
2 parents ee68e8f + 348d9cb commit 01d5cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Migrations/Version13000Date20170718121200.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
]);
$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')) {
Expand Down

0 comments on commit 01d5cc1

Please sign in to comment.