change smallint to tinyint