How to fix 42P10: invalid_column_reference in PostgreSQL | DevErrors