Datatype correction in create_tables.