Generate checkbox in scaffold

I was wondering what kind of mysql data type you use to so that when you
generate a scaffold that it puts a checkbox in the form instead of text
box?

Or is there some setting i have to change? thanks.