Integer is not a supported type when casting in Mysql. Replaced with unsigned.