@idpass/data-collect-core / conflicts
Variable: conflicts
constconflicts:PgTableWithColumns<{ }>
Defined in: db/schema.ts:319
Conflicts table for storing detected version conflicts between local and remote entity versions during sync. Populated by ConflictService.
Records remain unresolved until an admin (or auto-merge) resolves them via the
/api/conflicts/:guid/resolve endpoint. tenant_id partitions records for
multi-tenant isolation. Indexes optimize the two main read paths:
- list unresolved per tenant (admin view)
- lookup by entity within a tenant (entity-detail enrichment)