Merge pull request #14025 from nextcloud/fix/authtoken_idx_length

Fix authtoken index length
pull/14322/head
Morris Jobke 7 years ago committed by GitHub
commit 01d5cc1e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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')) {

Loading…
Cancel
Save