Files
delphi-database-v2/data-import/unknown_379e12b9-f7f0-4c07-a80b-3d92f84ffb80.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

700 B

1NumberNamePortPage_BreakSetup_StPhone_BookRolodex_InfoEnvelopeFile_CabinetAccountsStatementsCalendarReset_StB_UnderlineE_UnderlineB_BoldE_Bold
21HP Laser Jet 4LLPT1FormFeed\027&l81a3h1O\027(s1p12.5v0s0b4101T\027E\027&d3D\027&d@\027(s3B\027(s0B
32HP Laserjet IIILPT1FormFeed\027&l81a3h1O\027(s1p12.5v0s0b4101T\027E\027&d3D\027&d@\027(s3B\027(s0B
43Cannon Bubble Jet 10exLPT1FormFeed\027-1\027-0\027G\027H
54Okidata OL 400LPT1FormFeed\027&l81a3h1O\027(s1p12.5v0s0b4101T\027E\027&d3D\027&d@\027(s3B\027(s1B
65HP Laser Jet 5MLPT1FormFeed\027&l81a3h1O\027(s1p11v0s0b4148T\027E\027&d3D\027&d@\027(s3B\027(s0B