Use bigint for autoincremented column

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/30254/head
Christopher Ng 2 years ago
parent 09915ec15e
commit c85ab47a11

@ -48,7 +48,7 @@ class Version23000Date20210930122352 extends SimpleMigrationStep {
$hasTable = $schema->hasTable(self::TABLE_NAME);
if (!$hasTable) {
$table = $schema->createTable(self::TABLE_NAME);
$table->addColumn('id', Types::INTEGER, [
$table->addColumn('id', Types::BIGINT, [
'autoincrement' => true,
'notnull' => true,
]);

Loading…
Cancel
Save