← Назад к задаче

LEAD-ENGINE-001.2 · Persistent lead intelligence schema

Статус: ACCEPTED

Структурированная сводка для этой задачи не записана. Показан сохранённый результат без изменений.

Итог

I added the safe migrations and ran them on the live data/leads.db. The seven imported cards and the reviews table are unchanged: a hash of the original leads, reviews and companies rows was identical before and after. All 22 tests in python3 -m unittest tests.test_migrations -v pass, and so does the full suite (68 tests, including the existing campaign-config tests).

Files

How the migration stays safe

New tables: campaign_configs, research_runs, signals, evidence, assessments, provenance, dedup_keys, schema_migrations. New columns were added to the five existing tables, e.g. normalized name and domain for companies, and reviewer fields for reviews.

Rules the database itself enforces

What the live database now holds

For the next task

[truncated]

Решение

Принято владельцем. Действий не требуется.

Материалы