avoid naming conflicts for indexes
Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
@@ -58,8 +58,8 @@ class Version10900Date202206151724222 extends SimpleMigrationStep {
|
|||||||
'unsigned' => true,
|
'unsigned' => true,
|
||||||
]);
|
]);
|
||||||
$table->setPrimaryKey(['id']);
|
$table->setPrimaryKey(['id']);
|
||||||
$table->addIndex(['board_id'], 'rd_session_board_id_idx');
|
$table->addIndex(['board_id'], 'deck_session_board_id_idx');
|
||||||
$table->addIndex(['token'], 'rd_session_token_idx');
|
$table->addIndex(['token'], 'deck_session_token_idx');
|
||||||
}
|
}
|
||||||
return $schema;
|
return $schema;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user