/** * Migration 085: Backfill relations into entity_dependencies. * * The extraction pipeline writes extracted entity triples into the `relations` * table (legacy), while graph diagnostics and traversal read from * `entity_dependencies` (current). No code was bridging them, so extracted * relations were invisible to graph traversal: edgeCount was always 0. * * This migration copies every existing `relations` row into * `entity_dependencies`, mapping columns across the schema difference. * Idempotent — INSERT OR IGNORE skips rows that already exist (matched on * source_entity_id, target_entity_id, dependency_type, agent_id via the * idx_entity_deps_unique index). */ import type { MigrationDb } from "./index"; export declare function up(db: MigrationDb): void; //# sourceMappingURL=085-backfill-relations-to-dependencies.d.ts.map