So if you insert data into a mysql field that’s too long for the field size, the database will silently truncate the data being inserted. This is problematic!

To force mysql to fail these inserts,

set sql_mode = 'STRICT_ALL_TABLES';