Add index
This commit is contained in:
parent
1fea564735
commit
8b9ab096b7
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class V19 extends Migration
|
|||
}
|
||||
|
||||
try {
|
||||
$this->pdo->prepare("ALTER TABLE {$collectionName} ADD INDEX `_permission` (`_permission` ASC, `_type` ASC, `_document` ASC)")->execute();
|
||||
$this->pdo->prepare("ALTER TABLE {$collectionName} ADD INDEX `_permission` (`_permission`, `_type`, `_document`)")->execute();
|
||||
} catch (\Throwable $th) {
|
||||
Console::warning($th->getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue