nasht00
(Yiiframework Com)
1
I have columns in MySQL that are specifically set to NOT-NULL and have specific default value.
Yet Gii (giix in my case) still generates the following rule for those:
array('banned, newsletter, email_notification', 'default', 'setOnEmpty' => true, 'value' => null),
If I understand this correctly, is this setting those defaults to NULL??
mentel
(Yii)
2
Hi Nathan,
Please open a ticket for giix so I can check it. Thanks!
nasht00
(Yiiframework Com)
3
mentel
(Yii)
4
Thanks. Feel free to submit a patch if you want.
I’ll take a look at the issue as soon as possible (may take a while, though).