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, ]);