From c85ab47a11aae0861316c8da7cd74bb558032e0c Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Mon, 13 Dec 2021 19:51:48 +0000 Subject: [PATCH] Use bigint for autoincremented column Signed-off-by: Christopher Ng --- core/Migrations/Version23000Date20210930122352.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Migrations/Version23000Date20210930122352.php b/core/Migrations/Version23000Date20210930122352.php index e8400377b3e..e67d4237ec9 100644 --- a/core/Migrations/Version23000Date20210930122352.php +++ b/core/Migrations/Version23000Date20210930122352.php @@ -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, ]);