Mercurial > packages > magicforger
diff src/Replacer/TableReplacer.php @ 40:2cf26b593f4a ls_dev_2025_09 tip
better support for different column types
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Thu, 16 Oct 2025 10:54:04 -0400 |
| parents | b5c6ebd33547 |
| children |
line wrap: on
line diff
--- a/src/Replacer/TableReplacer.php Thu Sep 25 23:16:13 2025 -0400 +++ b/src/Replacer/TableReplacer.php Thu Oct 16 10:54:04 2025 -0400 @@ -112,7 +112,7 @@ $options = []; // Add default value checks if needed - if (is_null($column['default']) && ! $column['nullable']) { + if (/*is_null($column['default']) && */! $column['nullable']) { $options[] = "'required'"; } else {
