volatiletech / sqlboiler

Generate a Go ORM tailored to your database schema.
BSD 3-Clause "New" or "Revised" License
6.56k stars 533 forks source link

Added tinyint_as_int option to mysql example #1350

Closed 0daryo closed 5 months ago

0daryo commented 5 months ago

Hello team,

I've added the tinyint_as_int option to the MySQL example. This is because I struggled to find out how to generate TINYINT as INT. This enhancement is related to the issue found here: https://github.com/volatiletech/sqlboiler/issues/80.