Thursday, April 28, 2011

Why SS generated all Int data type to bool ?

Hi,

My Db have some fields using Integer data type, but after SS generated them, all of them 're Boolean db type.

Please tell me how to fix it !

Thanks !

From stackoverflow
  • Tinyint will be flagged as boolean since many databases use that for true/false. It's a choice we had to make for MySQL which I understand could cause issues.

    If you use SubSonic 3, you can change this in the templates.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.