dataflow/database
Paul Trowbridge d63d70cd52 Import log, constraint key overhaul, and dedup improvements
- Rename dedup_key/dedup_fields → constraint_key/constraint_fields everywhere
  (schema, functions, routes, UI, migration script, docs)
- Change constraint_key from MD5 TEXT hash to readable JSONB object
- Drop unique constraint on (source_name, constraint_key); dedup is now
  enforced at import time via CTE, allowing intra-file duplicate rows
- Add import_id FK (ON DELETE CASCADE) so deleting a log entry removes its records
- Add info JSONB to import_log with inserted_keys and excluded_keys arrays
- Add get_import_log, get_all_import_logs, delete_import SQL functions
- Auto-apply transformations immediately after import
- Import UI: expandable key detail, checkbox selection, delete with confirm,
  import ID column, transform result display
- New Log page: global import log across all sources

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 23:44:30 -04:00
..
queries Import log, constraint key overhaul, and dedup improvements 2026-04-13 23:44:30 -04:00
functions.sql Import log, constraint key overhaul, and dedup improvements 2026-04-13 23:44:30 -04:00
migrate_input_value_jsonb.sql Add multi-capture regex, computed view fields, collapsible rules, and live preview 2026-03-29 16:37:15 -04:00
migrate_tps.sql Import log, constraint key overhaul, and dedup improvements 2026-04-13 23:44:30 -04:00
schema.sql Import log, constraint key overhaul, and dedup improvements 2026-04-13 23:44:30 -04:00