How to fix Column has type X but expression has type Y in PostgreSQL | DevErrors