Fix PG id type