{"nodes": [{"id": "src_infrastructure_database_database_init_ts", "label": "init.ts", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L1"}, {"id": "init_log", "label": "log()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L31"}, {"id": "init_addmissingcolumn", "label": "addMissingColumn()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L63"}, {"id": "init_ensurelegacyschema", "label": "ensureLegacySchema()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L92"}, {"id": "init_populatevectables", "label": "populateVecTables()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L282"}, {"id": "init_recordbundledschemasqlmigrationbaseline", "label": "recordBundledSchemaSqlMigrationBaseline()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L336"}, {"id": "init_initializedatabase", "label": "initializeDatabase()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L373"}, {"id": "init_closedatabase", "label": "closeDatabase()", "file_type": "code", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L665"}], "edges": [{"source": "src_infrastructure_database_database_init_ts", "target": "better_sqlite3", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L7", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "fs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L8", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "path", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L9", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "url", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L10", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "index_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L11", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "migration_detector_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L12", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "migration_runner_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L13", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "schema_version_manager_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L14", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "core_memory_repository_factory_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L15", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "core_memory_service_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L16", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "core_memory_cache_service_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L17", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "reflection_notes_normalize_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L18", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "fts5_migration_status_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L19", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "pii_masker_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L20", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "logger_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L21", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "ensure_memory_item_triple_extraction_columns_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L22", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "ensure_meta_memory_stats_schema_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L23", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "ensure_quality_assurance_schema_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L24", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_log", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L31", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_addmissingcolumn", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L63", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_ensurelegacyschema", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L92", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_populatevectables", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L282", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_recordbundledschemasqlmigrationbaseline", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L336", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_initializedatabase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L373", "weight": 1.0}, {"source": "src_infrastructure_database_database_init_ts", "target": "init_closedatabase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L665", "weight": 1.0}, {"source": "init_ensurelegacyschema", "target": "init_addmissingcolumn", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L103", "weight": 1.0}, {"source": "init_ensurelegacyschema", "target": "init_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L276", "weight": 1.0}, {"source": "init_populatevectables", "target": "init_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L307", "weight": 1.0}, {"source": "init_initializedatabase", "target": "init_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L374", "weight": 1.0}, {"source": "init_initializedatabase", "target": "init_populatevectables", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L557", "weight": 1.0}, {"source": "init_initializedatabase", "target": "init_recordbundledschemasqlmigrationbaseline", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L604", "weight": 1.0}, {"source": "init_closedatabase", "target": "init_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/infrastructure/database/database/init.ts", "source_location": "L667", "weight": 1.0}]}