Initial project snapshot

This commit is contained in:
2026-04-28 22:29:50 +03:00
commit 8ba0561f4f
365 changed files with 91832 additions and 0 deletions
@@ -0,0 +1,11 @@
ALTER TABLE mesh_latest_links
ADD COLUMN IF NOT EXISTS observation_key TEXT NOT NULL DEFAULT 'default';
ALTER TABLE mesh_latest_links
DROP CONSTRAINT IF EXISTS mesh_latest_links_pkey;
ALTER TABLE mesh_latest_links
ADD PRIMARY KEY (cluster_id, source_node_id, target_node_id, observation_key);
CREATE INDEX IF NOT EXISTS idx_mesh_latest_links_cluster_observed
ON mesh_latest_links(cluster_id, observed_at DESC);