From 4a958e23ac52f990aaa53436dfb12ad33bcf2da6 Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Fri, 10 May 2024 20:43:27 +0530 Subject: [PATCH] Update lib/Migration/Version010010Date20240430083738.php Co-authored-by: julien-nc Signed-off-by: Anupam Kumar --- lib/Migration/Version010010Date20240430083738.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Migration/Version010010Date20240430083738.php b/lib/Migration/Version010010Date20240430083738.php index b508dd3a..27632841 100644 --- a/lib/Migration/Version010010Date20240430083738.php +++ b/lib/Migration/Version010010Date20240430083738.php @@ -50,11 +50,11 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table->addColumn('id', Types::INTEGER, [ 'autoincrement' => true, ]); - $table->addColumn('user_id', 'string', [ + $table->addColumn('user_id', 'Types::STRING', [ 'notnull' => true, 'length' => 256, ]); - $table->addColumn('title', 'string', [ + $table->addColumn('title', 'Types::STRING', [ 'notnull' => false, 'length' => 256, ]);