@pratik7368patil/anchor-core 0.1.27 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +91 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/db/schema.sql +14 -0
package/package.json
CHANGED
package/src/db/schema.sql
CHANGED
|
@@ -441,3 +441,17 @@ CREATE INDEX IF NOT EXISTS idx_org_consumers_provider ON org_api_consumers(org,
|
|
|
441
441
|
CREATE INDEX IF NOT EXISTS idx_org_consumers_consumer ON org_api_consumers(org, consumer_repo);
|
|
442
442
|
CREATE INDEX IF NOT EXISTS idx_org_anomalies_org ON org_anomaly_events(org, severity);
|
|
443
443
|
CREATE INDEX IF NOT EXISTS idx_org_graph_state_status ON org_graph_state(org, last_status);
|
|
444
|
+
|
|
445
|
+
-- Foreign-key indexes backing per-repo / per-PR bulk deletes and re-index scans.
|
|
446
|
+
CREATE INDEX IF NOT EXISTS idx_code_chunks_repo ON code_chunks(repo_id);
|
|
447
|
+
CREATE INDEX IF NOT EXISTS idx_code_files_repo ON code_files(repo_id);
|
|
448
|
+
CREATE INDEX IF NOT EXISTS idx_code_imports_repo ON code_imports(repo_id);
|
|
449
|
+
CREATE INDEX IF NOT EXISTS idx_test_files_repo ON test_files(repo_id);
|
|
450
|
+
CREATE INDEX IF NOT EXISTS idx_test_links_repo ON test_links(repo_id);
|
|
451
|
+
CREATE INDEX IF NOT EXISTS idx_architecture_components_repo ON architecture_components(repo_id);
|
|
452
|
+
CREATE INDEX IF NOT EXISTS idx_architecture_patterns_repo ON architecture_patterns(repo_id);
|
|
453
|
+
CREATE INDEX IF NOT EXISTS idx_architecture_map_edges_repo ON architecture_map_edges(repo_id);
|
|
454
|
+
CREATE INDEX IF NOT EXISTS idx_wisdom_units_repo ON wisdom_units(repo_id);
|
|
455
|
+
CREATE INDEX IF NOT EXISTS idx_regression_events_repo ON regression_events(repo_id);
|
|
456
|
+
CREATE INDEX IF NOT EXISTS idx_pr_files_pr ON pr_files(pr_id);
|
|
457
|
+
CREATE INDEX IF NOT EXISTS idx_pr_comments_pr ON pr_comments(pr_id);
|