Skip to content

Commit

Permalink
DB cols with notnull true cant have default empty string
Browse files Browse the repository at this point in the history
Signed-off-by: grnd-alt <[email protected]>
  • Loading branch information
grnd-alt committed Mar 19, 2024
1 parent 34b8b05 commit 999512c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Migration/Version000900Date20240314000000.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 999512c

Please sign in to comment.