Fix the equasion of data types. SERIAL is INTEGER or BIGINT in databases.