From 999512c6931e4057784aefaa8681db1f8093b44c Mon Sep 17 00:00:00 2001 From: grnd-alt Date: Tue, 19 Mar 2024 11:58:47 +0100 Subject: [PATCH] DB cols with notnull true cant have default empty string Signed-off-by: grnd-alt --- lib/Migration/Version000900Date20240314000000.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Migration/Version000900Date20240314000000.php b/lib/Migration/Version000900Date20240314000000.php index 2774a2a7b..7dcf5ab3f 100644 --- a/lib/Migration/Version000900Date20240314000000.php +++ b/lib/Migration/Version000900Date20240314000000.php @@ -29,7 +29,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table = $schema->getTable('tables_tables'); $table->addColumn('description', Types::TEXT, [ 'default' => '', - 'notnull' => true, + 'notnull' => false, ]); return $schema; }