Skip to content

Fix/prisma file - #15

Merged
jammy438 merged 2 commits into
masterfrom
fix/prisma-file
Jun 22, 2026
Merged

Fix/prisma file#15
jammy438 merged 2 commits into
masterfrom
fix/prisma-file

Conversation

@jammy438

Copy link
Copy Markdown
Owner

Adds three new tables to the Prisma schema and Supabase database, based on George's specs:

  • ingestion_jobs — tracks the status of each data ingestion run per connector (queued, running, complete, error), with row count, error message, and timestamps. Used by George's pipeline to record job history.

  • anomaly_config — one row per org, stores per-org thresholds for the anomaly detection engine (sigma threshold, absolute/percentage floors, lookback and suppression windows).

  • tag_config — one row per org, stores required tag keys, normalisation settings, and custom tag bundles for the rules engine.

  • Also adds directUrl to the Prisma datasource block to fix schema commands hanging on Supabase's connection pooler.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
costprism-web Building Building Preview, Comment Jun 22, 2026 12:33pm

@jammy438
jammy438 merged commit 88317f0 into master Jun 22, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant