How to fix Data exception in PostgreSQL | DevErrors