Files
delphi-database-v2/data-import/filenots_79f066bd-393c-404e-9034-b7dd6aee5ca5.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

11 lines
693 B
CSV

File_No,Memo_Date,Memo_Note
20250181B,null,"NEED: HER SSN, HER $425, ACCT DOC reflecting Full legal names of her plans"
20250181B,07/30/1925,Ralph called pd his $425. Need QDRO Forms. Emailed Valerie with QDRO Forms.
20250385A,07/30/1925,Emily must contact Vanguard to obtain QDRO packet. She sent Dist form in. DB
20250414A,07/26/2025,this is today's memo
20250414A,07/27/2025,second entry
20250414A,07/28/2025,third entry
20250415A,07/29/2025,waiting for anticipated retirement age and corresponding estimate - JSM
20250416A,07/30/2025,Asked atty. V if I should wait to get info from both b4 proceeding - JSM
20250420A,07/31/1925,Need Randy's Right Track IRA updated acct doc. DB