Merge pull request #14025 from nextcloud/fix/authtoken_idx_length
Fix authtoken index length
This commit is contained in:
commit
01d5cc1e7a
|
@ -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…
Reference in New Issue