I have seen on many engagements the column data type is defined
as INT(1).
People have the misconception that this numeric integer data type
is of the length of one digit, or one byte. (One digit is 0-9 an
one byte is 0-255)
This is incorrect.
Integer
For integer numeric data types in MySQL, that is TINYINT,
SMALLINT, MEDIUMINT, INT, BIGINT the (n) has no bearing on the
size of data stored within the specific data type. The (n) is
simply for display formatting.
In the MySQL Manual 10.2. Numeric Types you read This optional
display width is used to display integer values having a width
less than the width specified for the column by left-padding them
with spaces. The display width does not constrain the range of
values that can be stored in the column, nor the number of digits
that are displayed for values …
[Read more]