From 6ae4f2a2b6e8bd9525a0a9adcccaeeb1a2328b9a Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Fri, 10 May 2024 20:43:49 +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 d1c8c16a..784c9ce3 100644 --- a/lib/Migration/Version010010Date20240430083738.php +++ b/lib/Migration/Version010010Date20240430083738.php @@ -70,8 +70,9 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if (!$schema->hasTable('assistant_chat_msgs')) { $schemaChanged = true; $table = $schema->createTable('assistant_chat_msgs'); - $table->addColumn('id', Types::INTEGER, [ + $table->addColumn('id', Types::BIGINT, [ 'autoincrement' => true, + 'notnull' => true, ]); $table->addColumn('session_id', Types::INTEGER, [ 'notnull' => true,