ErasureDocs
Core Concepts

Data Maps

Entities, identifiers, DELETE vs SKIP, discovery, graph, and preview.

Data Maps

Source: app_docs/guide/data-maps.md, app_docs/guide/faq.md.

What it is

A per-connector inventory of entities (usually tables), identifier mappings, and actions: DELETE or SKIP.

Why it exists

You cannot delete what you cannot find. SQL connectors do not guess tables. Without a map, start readiness fails for SQL systems.

How it works

Connect SQL System

      ▼ Discover schema (information_schema, capped)
Snapshot on Data Map

      ▼ Suggestions (heuristics + confidence)

      ▼ Accept / ignore / edit entities
Data Map entities
  sourceName · identifiers · DELETE | SKIP

      ▼ Validate + readiness
Operational Graph · Execution Preview (COUNT only)


Rights delete job uses plans
ConceptDetail
EntityOne table (or source) with identifier mappings
IdentifierSubject field (email, externalId, …) → column
DELETEIncluded in execution plans
SKIPDocumented, not deleted (e.g. invoices kept)
Ignored sourcesTables excluded from mapping pressure
Coverage / driftDiscovered vs mapped; snapshot changes over time
Discovery limitLarge catalogs capped (product: thousands of tables max per discovery)

Graph

Operational relationship graph: systems, entities, FK edges, ignore/unmapped samples.
Not a full enterprise ERD.

Execution preview

Dry-run: COUNT matching rows per entity for a sample subject.
Never deletes.

HTTP and Webhook systems run from connector config without a SQL map.

How to implement

  1. Systems → select SQL connector → Data Map.
  2. Discover.
  3. Accept high-confidence suggestions or add entities.
  4. Fix validation errors (delete without identifiers is invalid).
  5. Confirm readiness green for that system.
  6. Use Preview with a test subject before first start.

Best practices

DoDon’t
Map only personal-data tablesMap every table “just in case”
Prefer stable identifiers (email, external id)Free-text names as keys
Re-discover after migrationsAssume snapshot forever
Use SKIP for legal retention tablesSilent partial deletes without documentation