Gii column default values

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??

Hi Nathan,

Please open a ticket for giix so I can check it. Thanks!

Done: http://code.google.com/p/giix/issues/detail?id=33

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).