Proper index for type

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-03 23:13:42 +01:00
parent b7a34ba9f7
commit d50b63f1ab

View File

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