Commit c01ac62
committed
bug #1293 [make:entity] don't set array field default value for nullable column (Rootie)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
[make:entity] don't set array field default value for nullable column
Setting a default value will lead to a wrong (not nullable) return value of the getter method.
Also setting a default value on a nullable field somehow cancels out the intention of nullable (except for setting it explicitly).
I'm not sure if this should be treated as a bc break. but since no existing properties are overwritten i think it should be fine.
Commits
-------
9c12187 [make:entity] don't set array field default value for nullable column1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments