Fix authtoken index length
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
0bb55f4ed3
commit
348d9cba06
|
@ -523,7 +523,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
|
||||||
]);
|
]);
|
||||||
$table->setPrimaryKey(['id']);
|
$table->setPrimaryKey(['id']);
|
||||||
$table->addUniqueIndex(['token'], 'authtoken_token_index');
|
$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')) {
|
if (!$schema->hasTable('bruteforce_attempts')) {
|
||||||
|
|
Loading…
Reference in New Issue