From 1f8850850d12e5ed2bf866057cdf5f097caf0b23 Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Fri, 10 May 2024 20:43:36 +0530 Subject: [PATCH] Update lib/Migration/Version010010Date20240430083738.php Co-authored-by: julien-nc Signed-off-by: Anupam Kumar --- lib/Migration/Version010010Date20240430083738.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Migration/Version010010Date20240430083738.php b/lib/Migration/Version010010Date20240430083738.php index 27632841..d1c8c16a 100644 --- a/lib/Migration/Version010010Date20240430083738.php +++ b/lib/Migration/Version010010Date20240430083738.php @@ -47,8 +47,9 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if (!$schema->hasTable('assistant_chat_sns')) { $schemaChanged = true; $table = $schema->createTable('assistant_chat_sns'); - $table->addColumn('id', Types::INTEGER, [ + $table->addColumn('id', Types::BIGINT, [ 'autoincrement' => true, + 'notnull' => true, ]); $table->addColumn('user_id', 'Types::STRING', [ 'notnull' => true,