How to fix ERROR: conflicting key value violates exclusion constraint in PostgreSQL | DevErrors