How to fix Duplicate object in PostgreSQL | DevErrors