Add migration to fix wrong index on type (fixes #1884)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-11 16:09:28 +01:00
parent 746b34e6c7
commit bedbe30fd2
2 changed files with 38 additions and 1 deletions

View File

@@ -39,7 +39,8 @@ class Version1000Date20200308073933 extends SimpleMigrationStep {
'notnull' => true,
'default' => 0
]);
$table->addIndex(['participant'], 'deck_assigned_users_idx_t');
//$table->addIndex(['participant'], 'deck_assigned_users_idx_t');
$table->addIndex(['type'], 'deck_assigned_users_idx_ty');
return $schema;
}