dataflow/api
Paul Trowbridge 2abcb89bcd Add import log detail, key tracking, and cascade delete
- Add import_id column to records (links each record to its import batch)
- import_records() now stores readable dedup field values (not hashes) in
  info.inserted_keys / info.excluded_keys, and stamps import_id on insert
- delete_import() simplified to delete log row; ON DELETE CASCADE removes records
- Add get_import_log() and get_all_import_logs() DB functions
- Add DELETE /api/sources/:name/import-log/:id endpoint
- Add GET /api/sources/import-log global log endpoint
- Import route now auto-applies transformations to new records after import
- Import page: show ID column, expandable key detail, checkbox delete
- New Log page: global view of all imports across sources
- Update README API reference and workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 11:04:34 -04:00
..
lib Consolidate all SQL into database/queries/, switch to literal SQL in routes 2026-04-05 22:36:53 -04:00
middleware Add login authentication with Basic Auth 2026-04-05 17:41:07 -04:00
routes Add import log detail, key tracking, and cascade delete 2026-04-12 11:04:34 -04:00
server.js Add login authentication with Basic Auth 2026-04-05 17:41:07 -04:00