Files
delphi-database-v2/data-import/unknown_9a098ad0-e280-44bc-9175-fa7dd85553ea.csv
HotSwapp 63809d46fb Fix PHONE.csv import duplicate constraint error
- Implement upsert logic in import_phone() function
- Check for existing (id, phone) combinations before insert
- Track duplicates within CSV to skip gracefully
- Update existing records instead of failing on duplicates
- Add detailed statistics: inserted, updated, skipped counts
- Align with upsert pattern used in other import functions
- Add documentation in docs/PHONE_IMPORT_FIX.md

Fixes: UNIQUE constraint failed: phone.id, phone.phone error
when re-importing or uploading CSV with duplicate entries
2025-10-12 21:45:30 -05:00

153 B

1Appl_TitleL_Head1L_Head2L_Head3L_Head4L_Head5L_Head6L_Head7L_Head8L_Head9L_Head10Default_Printer
2DELPHI CONSULTING GROUP, INC5