Merge pull request #14025 from nextcloud/fix/authtoken_idx_length

Fix authtoken index length
This commit is contained in:
Morris Jobke 2019-02-25 21:23:30 +01:00 committed by GitHub
commit 01d5cc1e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {