Fix pkey types

Those columns types are TEXT in the DB.