Add support to tinyint, smallint, maeiumint to be serials and primary key. Change the tinyint(1) on tinyint type to just tinyint.