How to fix malformed array literal in PostgreSQL | DevErrors