diff --git a/apps/ai/src/chat/prompts.ts b/apps/ai/src/chat/prompts.ts index cd467b5d9..ab8cd8329 100644 --- a/apps/ai/src/chat/prompts.ts +++ b/apps/ai/src/chat/prompts.ts @@ -316,14 +316,22 @@ Write for an engineer who has ten seconds before they look at the diff. Short, p - \`checked\` is at most three bullets, each under 20 words, on risks you examined and ruled out, with the evidence you read or ran, never a claim from the description restated: "New query filters \`OrgId\` (\`queries/keys.ts:41\`)". Never generic ("reviewed for security issues"). ## Confidence -The review leads with one number, 1 to 5, how safe the change is to merge. It is computed from your findings (their severity and count), \`tests\`, \`risk\` and the observability coverage, so set those honestly: +The review leads with one number, 1 to 10, how safe the change is to merge: 9 to 10 safe, 7 to 8 likely safe, 5 to 6 needs attention, 3 to 4 risky, 1 to 2 do not merge. It is computed from your findings (their severity and count), \`tests\`, \`risk\` and the observability coverage, so set those honestly: - \`tests\`: covered (tests exercise the behavior the change adds or alters), partial (some of it), missing (a behavior change no test exercises), not_needed (docs, copy, config, pure refactors under existing tests, generated files). - \`risk\`: high when the change touches auth, tenancy or org scoping, data migrations or deletes, billing, concurrency, or a public API or SDK contract; medium for shared code with many callers or a user-visible behavior change; low for everything contained. -- \`confidence\` is optional and can only lower the number, by one point: set it when something specific you read makes the change riskier than those signals say. Never lower it because you cannot run the code, reach a live service or see production; no reviewer can, and that is not a property of this change. +- \`confidence\` is your own number on the same 1 to 10 scale, and it must match what your confidenceReason says. It can lower the computed number by up to two points or raise it by one; findings cap it either way. Lower it when something specific you read makes the change riskier than the signals say, or when production diffs went unread (one point for a few, two for whole areas). Raise it only when you verified the risky part end to end (ran it, or read every caller and a test that fails without the change). Never lower it because you cannot run the code, reach a live service or see production; no reviewer can, and that is not a property of this change. Omit it when the signals already say what you would. - \`confidenceReason\` is one sentence, under 25 words, naming what decides the number or the one place that needs a careful look: "The new branch in \`listKeys\` changes tenant scoping and has no test". Never "Some risk remains". For a clean, contained change, say what makes it safe. +How past reviews should have read: +- 10: copy-only change across 11 files; the locale file keeps its exact key set. No findings, tests not needed, risk low. +- 9: \`Effect.forEach\` chunking of bulk writes, pinned by a 3,100-row test. No findings, tests covered, risk medium: the medium risk alone is not a reason to lower it. +- 8: tracer fix pinned by a real-error test, but one await path has no test of its own. No findings, tests partial, risk medium. +- 7: an auth-path gate with tests, where one unguarded call now rests on a patch applying. Lowered one point from 8 for that specific reason. +- 6: two shared-primitive warnings confirmed, and most per-view migration diffs unread. Lowered for the unread areas. +- 4: a new endpoint with no Server span and a token in a query string. A warning plus unobservable work. + ## Producing the review -Call \`submit_review\` once with: resolved (the handles of earlier findings this head fixes, when the kickoff listed any; a fix you did not read is not resolved), verdict (clean | issues | not_applicable), tests, risk, confidence (only to lower it), confidenceReason, summary, keyChanges, checked, coverage (observability only: one row per unit of production work the diff adds, with unit, kind, instrumented and evidence; empty when it adds none; build tooling, tests and scripts are not units), findings (path, line, endLine, category, checkId for observability, severity, title, body, suggestion, replacement; only the ones you did not already save, since saved findings are added for you), telemetryDismissals (only for a removed name you found still emitted at the head: name, path, line). The review IS the submit_review call; prose instead of it is discarded. +Call \`submit_review\` once with: resolved (the handles of earlier findings this head fixes, when the kickoff listed any; a fix you did not read is not resolved), verdict (clean | issues | not_applicable), tests, risk, confidence (1 to 10, only when it differs from the signals), confidenceReason, summary, keyChanges, checked, coverage (observability only: one row per unit of production work the diff adds, with unit, kind, instrumented and evidence; empty when it adds none; build tooling, tests and scripts are not units), findings (path, line, endLine, category, checkId for observability, severity, title, body, suggestion, replacement; only the ones you did not already save, since saved findings are added for you), telemetryDismissals (only for a removed name you found still emitted at the head: name, path, line). The review IS the submit_review call; prose instead of it is discarded. ## After the review If someone asks a follow-up in this session, answer with the same tools and the evidence you already gathered. diff --git a/apps/web/src/components/code-review/code-review-analytics.tsx b/apps/web/src/components/code-review/code-review-analytics.tsx index 843db02ee..1b4ca97a1 100644 --- a/apps/web/src/components/code-review/code-review-analytics.tsx +++ b/apps/web/src/components/code-review/code-review-analytics.tsx @@ -452,7 +452,7 @@ function SecondaryStats({ current }: { current: CodeReviewTotals }) { const stats = [ { label: "Avg confidence", - value: current.avgConfidence === null ? "–" : `${current.avgConfidence.toFixed(1)}/5`, + value: current.avgConfidence === null ? "–" : `${current.avgConfidence.toFixed(1)}/10`, hint: "How safe the reviewer judged each change to merge", }, { diff --git a/apps/web/src/components/code-review/review-detail-sheet.tsx b/apps/web/src/components/code-review/review-detail-sheet.tsx index 352fe3139..9a6e999df 100644 --- a/apps/web/src/components/code-review/review-detail-sheet.tsx +++ b/apps/web/src/components/code-review/review-detail-sheet.tsx @@ -145,7 +145,7 @@ function ReviewDetailContent({ diff --git a/apps/web/src/routes/code-review/pull-requests.tsx b/apps/web/src/routes/code-review/pull-requests.tsx index 73bdef93d..f511bf6e5 100644 --- a/apps/web/src/routes/code-review/pull-requests.tsx +++ b/apps/web/src/routes/code-review/pull-requests.tsx @@ -280,7 +280,7 @@ function ReviewTable({ ) : ( <> {review.confidence} - /5 + /10 )} diff --git a/docs/pr-review-agent-plan.md b/docs/pr-review-agent-plan.md index f67895990..ddffe3173 100644 --- a/docs/pr-review-agent-plan.md +++ b/docs/pr-review-agent-plan.md @@ -101,18 +101,18 @@ needs work (50+) or poor. A single warning scores 90 but grades good, so the hea gap excellent. The score is computed from the findings rather than asked of the model, so the same gaps always score the same, and it is stored in `pr_reviews.score`. -The headline is now a confidence level from 1 to 5 (`confidencePrReview`, same file), from "do not +The headline is now a confidence level from 1 to 10 (`confidencePrReview`, same file), from "do not merge" to "safe to merge". It starts from the quality score, deducts for missing tests, a high-risk -area and unobservable new work, and is capped by findings. The quality score is shown beneath it. +area and unobservable new work in whole points, and is capped by findings. The quality score is shown beneath it. ### Publishing to GitHub `PrReviewService.submitReview` stores the report, then calls `VcsProviderClient.publishPullRequestReview`, which posts, in order: -1. **A check run** named `Maple / review` on the head SHA, titled `Confidence /5 · `. +1. **A check run** named `Maple / review` on the head SHA, titled `Confidence /10 · `. It concludes `success` only when the review finished, left nothing to address and did not - rate confidence 3 or lower; otherwise `neutral`. It concludes `failure` only when the repository enables + rate confidence 6 or lower; otherwise `neutral`. It concludes `failure` only when the repository enables `blockOnContractBreaks` and an undismissed contract break is open (see "Production telemetry"). An installation that has not granted `checks: write` answers 403, and the review is posted without the check run. A rate-limited diff --git a/packages/backend/src/services/pr-review/PrReviewService.test.ts b/packages/backend/src/services/pr-review/PrReviewService.test.ts index f390ba07a..3bad65f84 100644 --- a/packages/backend/src/services/pr-review/PrReviewService.test.ts +++ b/packages/backend/src/services/pr-review/PrReviewService.test.ts @@ -826,7 +826,7 @@ describe("PrReviewService.submitReview", () => { assert.include(publication.summaryComment.body, "### Still open from earlier reviews") assert.include(publication.summaryComment.body, "~~F1 · off by one~~") // Two warnings (quality 80) and an unobservable route. - assert.equal(publication.title, "Confidence 2/5 · 2 issues to address") + assert.equal(publication.title, "Confidence 5/10 · 2 issues to address") assert.deepEqual(resolvedThreads, ["T1:Fixed in `2222222`."]) const stored = Option.getOrThrow(yield* reviews.getReview(orgId, second.reviewId!)) assert.deepEqual( @@ -1285,7 +1285,7 @@ describe("buildPublication", () => { assert.equal(publication.conclusion, "neutral") assert.include(publication.reviewBody ?? "", "1 inline note") // Quality 88 reads 4, less half a point for the unobservable route. - assert.equal(publication.title, "Confidence 3/5 · 1 issue to address") + assert.equal(publication.title, "Confidence 6/10 · 1 issue to address") }) it("always writes the summary comment, even with nothing to say inline", () => { @@ -1303,7 +1303,7 @@ describe("buildPublication", () => { assert.isTrue(publication.summaryComment.body.startsWith(prReviewCommentMarker(UNKNOWN_REVIEW))) assert.include( publication.summaryComment.body, - "## Maple review\n\n🟢 **Confidence 4/5** · likely safe to merge\nquality 100/100 · no findings · 0/1 new units observable", + "## Maple review\n\n🟢 **Confidence 9/10** · safe to merge\nquality 100/100 · no findings · 0/1 new units observable", ) }) @@ -1357,7 +1357,7 @@ describe("buildPublication", () => { repositoryUrl: `${REPO_URL}/`, }) assert.include(comment, `(${REPO_URL}/blob/${HEAD}/src/a%20b.ts#L4-L6)`) - assert.include(comment, "🔴 **Confidence 2/5** · risky as written") + assert.include(comment, "🔴 **Confidence 4/10** · risky as written") assert.include(comment, "quality 75/100 · 1 critical · 0/1 new units observable") assert.include(comment, "Observability coverage: 0 of 1 changes observable") assert.include(comment, "
🔴 Critical · gap") @@ -1442,7 +1442,7 @@ describe("buildPublication", () => { coverage: [], tests: "covered", risk: "low", - confidence: 5, + confidence: 10, confidenceReason: "Small change, verified end to end.", }), partial, @@ -1451,18 +1451,18 @@ describe("buildPublication", () => { }) assert.include( render([]), - "🟢 **Confidence 5/5** · safe to merge\nSmall change, verified end to end.\nquality 100/100 · no findings · tests covered · risk low", + "🟢 **Confidence 10/10** · safe to merge\nSmall change, verified end to end.\nquality 100/100 · no findings · tests covered · risk low", ) const critical = render([ { path: "a.ts", line: 1, category: "correctness", severity: "critical", title: "t", body: "b" }, ]) assert.include( critical, - "🔴 **Confidence 2/5** · risky as written\nHeld at 2 because a critical finding is open.", + "🔴 **Confidence 4/10** · risky as written\nHeld at 4 because a critical finding is open.", ) assert.notInclude(critical, "verified end to end") const partial = render([], true) - assert.include(partial, "🟡 **Confidence 3/5** · needs attention\n") + assert.include(partial, "🟡 **Confidence 6/10** · needs attention\n") // The early end is the warning; a reason saying so again is left out. assert.notInclude(partial, "Held at") assert.include(partial, "ended early") @@ -1476,14 +1476,17 @@ describe("buildPublication", () => { headSha: HEAD, partial, repositoryUrl: REPO_URL, + // Signals read 7: an unobservable unit, partial tests and a medium-risk area. report: new PrReviewReport({ ...report([]), + tests: "partial", + risk: "medium", ...(confidence === undefined ? undefined : { confidence }), }), }).conclusion - assert.equal(conclusion(5), "success") - assert.equal(conclusion(4), "success") - assert.equal(conclusion(3), "neutral") + assert.equal(conclusion(undefined), "success") + assert.equal(conclusion(8), "success") + assert.equal(conclusion(6), "neutral") assert.equal(conclusion(undefined, true), "neutral") }) diff --git a/packages/backend/src/services/pr-review/PrReviewService.ts b/packages/backend/src/services/pr-review/PrReviewService.ts index 809eb62aa..e3dc947b5 100644 --- a/packages/backend/src/services/pr-review/PrReviewService.ts +++ b/packages/backend/src/services/pr-review/PrReviewService.ts @@ -34,11 +34,13 @@ import { PrReviewTelemetry, openContractBreaks, PR_REVIEW_CONFIDENCE_LABEL, + PR_REVIEW_CONFIDENCE_MAX, PR_REVIEW_FAILURE_COPY, DEFAULT_REVIEWER_MENTION, type PrReviewFailureReason, prReviewFailureReason, confidencePrReview, + prReviewConfidenceTone, scorePrReview, type PullRequestCheckAnnotation, type PullRequestEventJob, @@ -529,7 +531,8 @@ const SEVERITY_ALERT = { } as const satisfies Record /** Green when safe, amber when it needs a look, red when risky. */ -const confidenceMark = (confidence: number) => (confidence >= 4 ? "🟢" : confidence === 3 ? "🟡" : "🔴") +const CONFIDENCE_MARK = { safe: "🟢", attention: "🟡", risky: "🔴" } as const +const confidenceMark = (confidence: number) => CONFIDENCE_MARK[prReviewConfidenceTone(confidence)] /** `observability · SPAN-03`, or the bare category for every other lens. */ const categoryLabel = (finding: { readonly category: string; readonly checkId?: string }): string => @@ -622,7 +625,7 @@ export const renderReviewMarkdown = (input: ReviewMarkdownInput & { readonly hea lines.push("**Nothing to review**", "") } else { lines.push( - `${confidenceMark(confidence.confidence)} **Confidence ${confidence.confidence}/5** · ${PR_REVIEW_CONFIDENCE_LABEL[confidence.confidence]}`, + `${confidenceMark(confidence.confidence)} **Confidence ${confidence.confidence}/${PR_REVIEW_CONFIDENCE_MAX}** · ${PR_REVIEW_CONFIDENCE_LABEL[confidence.confidence]}`, ) // An early end is already the warning below; the reason would only say it again. if (confidence.reason !== undefined && confidence.cappedBy !== "partial") @@ -877,7 +880,7 @@ export const buildPublication = (input: { checkName: PR_REVIEW_CHECK_NAME, // Fixed order, like the scorecard: a check list scans down one column. title: [ - `Confidence ${confidence === undefined ? "–" : `${confidence.confidence}/5`}`, + `Confidence ${confidence === undefined ? "–" : `${confidence.confidence}/${PR_REVIEW_CONFIDENCE_MAX}`}`, verdictTitle(report, carried), ].join(" · "), summary: renderCheckSummary(markdown), @@ -886,7 +889,7 @@ export const buildPublication = (input: { // finished, found nothing to address and is confident the change is safe. conclusion: blocking ? "failure" - : hasIssues || input.partial || (confidence !== undefined && confidence.confidence <= 3) + : hasIssues || input.partial || (confidence !== undefined && prReviewConfidenceTone(confidence.confidence) !== "safe") ? "neutral" : "success", annotations, diff --git a/packages/db/drizzle/20261006231211_pr_review_confidence_ten/migration.sql b/packages/db/drizzle/20261006231211_pr_review_confidence_ten/migration.sql new file mode 100644 index 000000000..771b5b325 --- /dev/null +++ b/packages/db/drizzle/20261006231211_pr_review_confidence_ten/migration.sql @@ -0,0 +1,18 @@ +-- PR review confidence moved from 1-5 to 1-10: double stored values so history reads on one scale. +-- Only values still on the old scale are touched, and a stored "Held at N" cap reason doubles with them. +UPDATE "pr_reviews" +SET "report_json" = CASE + WHEN "report_json"->>'confidenceReason' ~ '^Held at [1-5] ' + THEN jsonb_set( + "report_json", + '{confidenceReason}', + to_jsonb(regexp_replace( + "report_json"->>'confidenceReason', + '^Held at [1-5] ', + 'Held at ' || (substring("report_json"->>'confidenceReason' from '^Held at ([1-5]) ')::int * 2) || ' ' + )) + ) + ELSE "report_json" +END || jsonb_build_object('confidence', ("report_json"->>'confidence')::int * 2) +WHERE jsonb_typeof("report_json"->'confidence') = 'number' + AND ("report_json"->>'confidence')::numeric BETWEEN 1 AND 5; diff --git a/packages/db/drizzle/20261006231211_pr_review_confidence_ten/snapshot.json b/packages/db/drizzle/20261006231211_pr_review_confidence_ten/snapshot.json new file mode 100644 index 000000000..31587ba6c --- /dev/null +++ b/packages/db/drizzle/20261006231211_pr_review_confidence_ten/snapshot.json @@ -0,0 +1,17741 @@ +{ + "id": "92119332-972c-45fa-948d-25fdcb3eb855", + "prevIds": [ + "88e69edb-e31f-4ffb-925c-edf3e10742e7" + ], + "version": "8", + "dialect": "postgres", + "ddl": [ + { + "isRlsEnabled": false, + "name": "agent_feedback", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "ai_triage_settings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_delivery_events", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_destinations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_incidents", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_rule_claims", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_rule_states", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "alert_rules", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "anomaly_detector_settings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "anomaly_detector_states", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "anomaly_incidents", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "api_keys", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "chat_identities", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "chat_workspaces", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "cloudflare_analytics_state", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "cloudflare_hyperdrive_configs", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "cloudflare_logpush_connectors", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "cli_device_authorizations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "mcp_oauth_authorizations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "mcp_oauth_clients", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "mcp_oauth_refresh_tokens", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "mobile_devices", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "dashboard_shares", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "dashboard_versions", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "dashboards", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "digest_subscriptions", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "actors", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_fingerprint_candidates", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_incidents", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_issue_events", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_issue_pull_requests", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_issue_states", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_issue_verifications", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_issues", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_notification_deliveries", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_notification_policies", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "error_tick_states", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "issue_escalation_policies", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "issue_escalations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "investigations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "live_activities", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "oauth_auth_states", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "oauth_connections", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_onboarding_state", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_ingest_attribute_mappings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_recommendation_issues", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_ingest_keys", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_ingest_sampling_policies", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_clickhouse_settings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_clickhouse_schema_apply_runs", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "planetscale_connections", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "planetscale_databases", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "planetscale_events", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "planetscale_issue_receipts", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "planetscale_poll_state", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "railway_connections", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "railway_environments", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "scrape_target_checks", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "scrape_targets", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "org_support_channels", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_review_edits", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_review_finding_embeddings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_review_findings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_review_replies", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_review_settings", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "pr_reviews", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "vcs_commits", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "vcs_installations", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "vcs_repositories", + "entityType": "tables", + "schema": "public" + }, + { + "isRlsEnabled": false, + "name": "vcs_repository_branches", + "entityType": "tables", + "schema": "public" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "kind", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "impact", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "summary", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reason", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "details", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "related_to", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "agent_type", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "agent_name", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "agent_model", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "agent_version", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "agent_feedback" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "20", + "generated": null, + "identity": null, + "name": "max_runs_per_day", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "90", + "generated": null, + "identity": null, + "name": "max_passes_per_day", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "ai_triage_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "incident_id", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "rule_id", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "destination_id", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "delivery_key", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "event_type", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "attempt_number", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scheduled_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claimed_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claim_expires_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claimed_by", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "attempted_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider_message", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider_reference", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "response_code", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error_message", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "type", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "config_json", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_iv", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_tag", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_tested_at", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_test_error", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "consecutive_failures", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_failure_at", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "disabled_at", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "disabled_reason", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "alert_destinations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "rule_id", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "incident_key", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "rule_name", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "group_key", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "signal_type", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "comparator", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "threshold", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "threshold_upper", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_observed_value", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sample_count", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_evaluated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dedupe_key", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_delivered_event_type", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_notified_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "hold_reason", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "held_since", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error_issue_id", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "rule_id", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_claims" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_claims" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_scheduled_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_claims" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "rule_id", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'__total__'", + "generated": null, + "identity": null, + "name": "group_key", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "consecutive_breaches", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "consecutive_healthy", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_status", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_value", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sample_count", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_evaluated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rule_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "notes", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "notification_template_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_names_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "exclude_service_names_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "environments_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "tags_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "signal_type", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "comparator", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "threshold", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "threshold_upper", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "window_minutes", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "minimum_sample_count", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "2", + "generated": null, + "identity": null, + "name": "consecutive_breaches_required", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "2", + "generated": null, + "identity": null, + "name": "consecutive_healthy_required", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "30", + "generated": null, + "identity": null, + "name": "renotify_interval_minutes", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "apdex_threshold_ms", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "query_builder_draft_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "raw_query_sql", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "group_by", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "destination_ids_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "query_spec_json", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reducer", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "sample_count_strategy", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "no_data_behavior", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_scheduled_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "alert_rules" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'normal'", + "generated": null, + "identity": null, + "name": "sensitivity", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "muted_signals_json", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_tick_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "detector_key", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "signal_type", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "deployment_env", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "fingerprint_hash", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "consecutive_breaches", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "consecutive_healthy", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_status", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_value", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "baseline_median", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sample_count", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_evaluated_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "open_incident_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_resolved_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_incident_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "detector_key", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "signal_type", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "deployment_env", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "fingerprint_hash", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error_issue_id", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "opened_value", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "baseline_median", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "baseline_sigma", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "threshold_value", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_observed_value", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "last_sample_count", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolve_reason", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'none'", + "generated": null, + "identity": null, + "name": "triage_status", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dedupe_key", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "fingerprints_json", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "reopen_count", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_reopened_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "description", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "key_hash", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "key_prefix", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "revoked", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "revoked_at", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_used_at", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "metadata_json", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scopes", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'standard'", + "generated": null, + "identity": null, + "name": "kind", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by_email", + "entityType": "columns", + "schema": "public", + "table": "api_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connector", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_user_id", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "display_name", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "chat_identities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connector", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_workspace_id", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "settings", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "credentials_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "credentials_iv", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "credentials_tag", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "chat_workspaces" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "account_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dataset", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "zone_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "zone_name", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "watermark_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "backfill_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "settings_json", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "settings_fetched_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "quantiles_available", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "discovered_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "live_scripts_json", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_success_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "lease_until", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "account_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "config_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "origin_host", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "origin_port", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "origin_scheme", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "origin_database", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "origin_user", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "deleted_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "zone_name", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'http_requests'", + "generated": null, + "identity": null, + "name": "dataset", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_iv", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_tag", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_hash", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_received_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "secret_rotated_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "device_code_hash", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_code_hash", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "device_name", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_org_id", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_user_id", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_roles", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_user_email", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "api_key_id", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_iv", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_tag", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_at", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "denied_at", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "request_id_hash", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_name", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "redirect_uri", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "state", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resource", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scopes", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "code_challenge", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "authorization_code_hash", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_org_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_user_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_roles", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_user_email", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "approved_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "denied_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "used_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_clients" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_name", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_clients" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "redirect_uris", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_clients" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_uri", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_clients" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_clients" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_hash", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "family_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "client_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resource", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scopes", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "roles", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_email", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "access_key_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "replaced_by_id", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "revoked_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "family_expires_at", + "entityType": "columns", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "platform", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "environment", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "bundle_id", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "app_version", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "live_activity_start_token", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "device_name", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "preferences", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "disabled_at", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "disabled_reason", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_pushed_at", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_seen_at", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "mobile_devices" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dashboard_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "widget_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "mode", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_hash", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_iv", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_tag", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_suffix", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "revoked_at", + "entityType": "columns", + "schema": "public", + "table": "dashboard_shares" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dashboard_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "version_number", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "snapshot_json", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "change_kind", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "change_summary", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source_version_id", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "dashboard_versions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "version", + "entityType": "columns", + "schema": "public", + "table": "dashboards" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "email", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "opted_out_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "1", + "generated": null, + "identity": null, + "name": "day_of_week", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'UTC'", + "generated": null, + "identity": null, + "name": "timezone", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "namespaces_json", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "environments_json", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sent_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_attempted_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "web_analytics_enabled", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "web_analytics_opted_out_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "web_analytics_last_sent_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "web_analytics_last_attempted_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "type", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "agent_name", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "model", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "capabilities_json", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_active_at", + "entityType": "columns", + "schema": "public", + "table": "actors" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "fingerprint_hash", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "exception_type", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "exception_message", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "error_label", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "top_frame", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "service_versions_json", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_seen_at", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_seen_at", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reason", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_triggered_at", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_at", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_incidents" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "actor_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "type", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "from_state", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "to_state", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'{}'", + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_repo_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repo_full_name", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "number", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "url", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "title", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_login", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'open'", + "generated": null, + "identity": null, + "name": "state", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "merged_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "merge_commit_sha", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "link_source", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "linked_by_actor_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_observed_occurrence_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_evaluated_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "open_incident_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "pull_request_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'waiting'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "merged_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "verify_after", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "baseline_versions_json", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "baseline_occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "baseline_rate_per_hour", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "investigation_id", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "verdict", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "verdict_note", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "post_merge_occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "attempt", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'error'", + "generated": null, + "identity": null, + "name": "kind", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source_ref_json", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "fingerprint_hash", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "1", + "generated": null, + "identity": null, + "name": "fingerprint_version", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "exception_type", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "exception_message", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "error_label", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "top_frame", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'triage'", + "generated": null, + "identity": null, + "name": "workflow_state", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "3", + "generated": null, + "identity": null, + "name": "priority", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity_source", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "assigned_actor_id", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "lease_holder_actor_id", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "lease_expires_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claimed_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "notes", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_seen_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_seen_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_by_actor_id", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_resolved_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_regressed_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "regression_count", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "seen_versions_json", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "resolved_versions_json", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "snooze_until", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "archived_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "destination_id", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "delivery_key", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "attempt_count", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scheduled_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claimed_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claim_expires_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claimed_by", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "attempted_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error_message", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "destination_ids_json", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "notify_on_first_seen", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "notify_on_regression", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "notify_on_resolve", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "notify_on_transition_in_review", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "notify_on_transition_done", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "notify_on_claim", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "1", + "generated": null, + "identity": null, + "name": "min_occurrence_count", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'warning'", + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "error_notification_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "processed_through", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "bootstrap_completed", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claim_token", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "claim_expires_at", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "error_tick_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalation_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "issue_escalation_policies" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "rules_json", + "entityType": "columns", + "schema": "public", + "table": "issue_escalation_policies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "issue_escalation_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "issue_escalation_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reason", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "run_id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "investigation_id", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'{}'", + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'[]'", + "generated": null, + "identity": null, + "name": "delivery_results_json", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'queued'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "attempts", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dedupe_key", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "processed_at", + "entityType": "columns", + "schema": "public", + "table": "issue_escalations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'investigating'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'user'", + "generated": null, + "identity": null, + "name": "seeded_by", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "subject_json", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "snapshot_json", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "incident_kind", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "incident_id", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "issue_id", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "report_json", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "progress_json", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "confidence", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "model", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "input_tokens", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "output_tokens", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "started_at", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "autonomous_turns", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "diagnosed_at", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "investigations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "device_id", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "incident_id", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "activity_id", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "push_token", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ended_at", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ended_reason", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "live_activities" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "state", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "initiated_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "redirect_uri", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "return_to", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "code_verifier", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_user_id", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_user_email", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_account_name", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "granted_accounts_json", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connected_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "scope", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "access_token_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "access_token_iv", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "access_token_tag", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "refresh_token_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "refresh_token_iv", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "refresh_token_tag", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "expires_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "revoked_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "oauth_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "user_id", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "email", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "role", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "demo_data_requested", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "onboarding_completed_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "checklist_dismissed_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "first_data_received_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "welcome_email_sent_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connect_nudge_email_sent_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "stalled_email_sent_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "activation_email_sent_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reward_claimed_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reward_reserved_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_onboarding_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source_context", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source_key", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "target_key", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "operation", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "number", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "recommendation_key", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "kind", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source_key", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "canonical_key", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'open'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "usage_count", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "opened_at", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_at", + "entityType": "columns", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "public_key", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "public_key_hash", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "private_key_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "private_key_iv", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "private_key_tag", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "private_key_hash", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "public_rotated_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "private_rotated_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "double precision", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "1", + "generated": null, + "identity": null, + "name": "trace_sample_ratio", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "always_keep_error_spans", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "always_keep_slow_spans_ms", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "now()", + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_ingest_sampling_policies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_url", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_user", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_password_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_password_iv", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_password_tag", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ch_database", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "sync_status", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sync_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sync_error", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "schema_version", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "workflow_instance_id", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "phase", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "current_migration", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "steps_total", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "steps_done", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "applied_versions", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "skipped", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error_message", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "started_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "finished_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "ps_organization", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connected_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "scrape_target_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "webhook_secret_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "webhook_secret_iv", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "webhook_secret_tag", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "detected_permissions_json", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_inventory_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_inventory_error", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "database_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'mysql'", + "generated": null, + "identity": null, + "name": "kind", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "state", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "region", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "plan", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "branches_json", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "deleted_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_databases" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "database_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "database_name", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "branch_name", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "category", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "event_type", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "state", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "external_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "title", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "source", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "actor_login", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "url", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "payload_json", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "occurred_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_events" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_issue_receipts" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "event_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_issue_receipts" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "processed_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_issue_receipts" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "dataset", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "database_id", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "watermark_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_success_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "lease_until", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_iv", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "token_tag", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "workspace_names", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connected_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "auth_failed_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "discovered_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "lease_until", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_success_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "railway_connections" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "connection_id", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "project_id", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "project_name", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "environment_id", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "environment_name", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'{}'", + "generated": null, + "identity": null, + "name": "services_json", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "watermark_at", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_success_at", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_error_at", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "railway_environments" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": { + "type": "byDefault", + "name": "scrape_target_checks_id_seq", + "increment": "1", + "startWith": "1", + "minValue": "1", + "maxValue": "2147483647", + "cache": 1, + "cycle": false + }, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "target_id", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "''", + "generated": null, + "identity": null, + "name": "sub_target_key", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "checked_at", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "duration_ms", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "samples_scraped", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "samples_post_relabel", + "entityType": "columns", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "service_name", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "url", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'prometheus'", + "generated": null, + "identity": null, + "name": "target_type", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "discovery_config_json", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "15", + "generated": null, + "identity": null, + "name": "scrape_interval_seconds", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "labels_json", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'none'", + "generated": null, + "identity": null, + "name": "auth_type", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "managed_by", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "auth_credentials_ciphertext", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "auth_credentials_iv", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "auth_credentials_tag", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "enabled", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_scrape_at", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_scrape_error", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "scrape_targets" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "slack_channel_id", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "slack_channel_name", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reservation_id", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reserved_at", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "org_support_channels" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reply_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "seq", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "path", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "old_text", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "new_text", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_edits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "finding_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "model", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "real", + "typeSchema": null, + "notNull": true, + "dimensions": 1, + "default": null, + "generated": null, + "identity": null, + "name": "embedding", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "number", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "review_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "handle", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "path", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "line", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "category", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "severity", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "title", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'open'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "comment_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "resolved_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "reactions_up", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "reactions_down", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_findings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "number", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "comment_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "surface", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "thread_root_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_login", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "command", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "head_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'queued'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "session_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "reply_url", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "commit_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_replies" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_review_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "model", + "entityType": "columns", + "schema": "public", + "table": "pr_review_settings" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "defaults", + "entityType": "columns", + "schema": "public", + "table": "pr_review_settings" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "pr_review_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_by", + "entityType": "columns", + "schema": "public", + "table": "pr_review_settings" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "number", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "head_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "base_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "url", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "title", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_login", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'queued'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "skip_reason", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "session_id", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "0", + "generated": null, + "identity": null, + "name": "comment_attempt", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "report_json", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "score", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "check_run_url", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "comment_url", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "review_url", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "publish_error", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "error", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "model", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "input_tokens", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "integer", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "output_tokens", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "started_at", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "finished_at", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "merged_at", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "telemetry_json", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "merge_commit_sha", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "post_merge_status", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "post_merge_after", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "post_merge_json", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "pr_reviews" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "sha", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "message", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_name", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_email", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_login", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "author_avatar_url", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "authored_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "committed_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "html_url", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_commits" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_installation_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "account_login", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "account_type", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_account_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "account_avatar_url", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'all'", + "generated": null, + "identity": null, + "name": "repository_selection", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'active'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "suspended_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "installed_by_user_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_installations" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "installation_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "external_repo_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "owner", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "full_name", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'main'", + "generated": null, + "identity": null, + "name": "default_branch", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "tracked_branch", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "html_url", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "true", + "generated": null, + "identity": null, + "name": "is_private", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "is_archived", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'active'", + "generated": null, + "identity": null, + "name": "status", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "'pending'", + "generated": null, + "identity": null, + "name": "sync_status", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_synced_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "last_sync_error", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "pr_review_enabled", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "jsonb", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "pr_review_config", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_repositories" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "org_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "provider", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "repository_id", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "text", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "name", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "boolean", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": "false", + "generated": null, + "identity": null, + "name": "is_default", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "text", + "typeSchema": null, + "notNull": false, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "head_sha", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "created_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "type": "timestamp with time zone", + "typeSchema": null, + "notNull": true, + "dimensions": 0, + "default": null, + "generated": null, + "identity": null, + "name": "updated_at", + "entityType": "columns", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "agent_feedback_org_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "agent_feedback" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "kind", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "agent_feedback_kind_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "agent_feedback" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_delivery_events_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "incident_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_delivery_events_org_incident_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "scheduled_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_delivery_events_due_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "claim_expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "scheduled_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_delivery_events_claim_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "delivery_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "attempt_number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_delivery_events_delivery_attempt_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_delivery_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_destinations_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_destinations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "enabled", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_destinations_org_enabled_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_destinations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_destinations_org_name_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_destinations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_org_status_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "rule_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_org_rule_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "error_issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_org_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "incident_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_incident_key_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "rule_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "group_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": "\"status\" = 'open'", + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_incidents_open_group_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_rule_claims_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_rule_claims" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_rule_states_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_rule_states" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_rules_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_rules" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "enabled", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_rules_org_enabled_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_rules" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "alert_rules_org_name_idx", + "entityType": "indexes", + "schema": "public", + "table": "alert_rules" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "open_incident_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": "\"open_incident_id\" is not null", + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_detector_states_open_incident_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "last_evaluated_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_detector_states_evaluated_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "last_triggered_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_incidents_org_status_triggered_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "last_triggered_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_incidents_org_triggered_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "detector_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_incidents_org_detector_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "error_issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_incidents_org_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "detector_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": "\"status\" = 'open'", + "with": "", + "method": "btree", + "concurrently": false, + "name": "anomaly_incidents_open_detector_idx", + "entityType": "indexes", + "schema": "public", + "table": "anomaly_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "key_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "api_keys_key_hash_unique", + "entityType": "indexes", + "schema": "public", + "table": "api_keys" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "api_keys_org_id_idx", + "entityType": "indexes", + "schema": "public", + "table": "api_keys" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "connector", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "external_user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "chat_identities_org_connector_external_idx", + "entityType": "indexes", + "schema": "public", + "table": "chat_identities" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "connector", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "chat_identities_org_connector_user_idx", + "entityType": "indexes", + "schema": "public", + "table": "chat_identities" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "chat_identities_org_user_idx", + "entityType": "indexes", + "schema": "public", + "table": "chat_identities" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "connector", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "external_workspace_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "chat_workspaces_connector_external_idx", + "entityType": "indexes", + "schema": "public", + "table": "chat_workspaces" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "chat_workspaces_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "chat_workspaces" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "account_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dataset", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "zone_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cf_analytics_state_org_account_dataset_zone_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cf_analytics_state_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_analytics_state" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "config_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cloudflare_hyperdrive_configs_org_config_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cloudflare_hyperdrive_configs_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_hyperdrive_configs" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cloudflare_logpush_connectors_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "enabled", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cloudflare_logpush_connectors_org_enabled_idx", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "secret_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cloudflare_logpush_connectors_secret_hash_unique", + "entityType": "indexes", + "schema": "public", + "table": "cloudflare_logpush_connectors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "user_code_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cli_device_authorizations_user_code_unique", + "entityType": "indexes", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "cli_device_authorizations_expires_idx", + "entityType": "indexes", + "schema": "public", + "table": "cli_device_authorizations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "authorization_code_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mcp_oauth_authorizations_code_unique", + "entityType": "indexes", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mcp_oauth_authorizations_expires_idx", + "entityType": "indexes", + "schema": "public", + "table": "mcp_oauth_authorizations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "token_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mcp_oauth_refresh_tokens_hash_unique", + "entityType": "indexes", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "family_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mcp_oauth_refresh_tokens_family_idx", + "entityType": "indexes", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mcp_oauth_refresh_tokens_expires_idx", + "entityType": "indexes", + "schema": "public", + "table": "mcp_oauth_refresh_tokens" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "platform", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "token", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mobile_devices_org_platform_token_unique", + "entityType": "indexes", + "schema": "public", + "table": "mobile_devices" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mobile_devices_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "mobile_devices" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "mobile_devices_user_idx", + "entityType": "indexes", + "schema": "public", + "table": "mobile_devices" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "token_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_shares_token_hash_unq", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_shares" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dashboard_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "coalesce(widget_id, '')", + "isExpression": true, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": "revoked_at is null", + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_shares_live_unq", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_shares" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dashboard_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_shares_org_dashboard_idx", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_shares" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_shares_id_idx", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_shares" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dashboard_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "version_number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_versions_org_dashboard_idx", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_versions" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dashboard_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "version_number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboard_versions_org_dashboard_version_unq", + "entityType": "indexes", + "schema": "public", + "table": "dashboard_versions" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "updated_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboards_org_updated_idx", + "entityType": "indexes", + "schema": "public", + "table": "dashboards" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "dashboards_org_name_idx", + "entityType": "indexes", + "schema": "public", + "table": "dashboards" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "digest_subscriptions_org_user_idx", + "entityType": "indexes", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "enabled", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "digest_subscriptions_org_enabled_idx", + "entityType": "indexes", + "schema": "public", + "table": "digest_subscriptions" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "user_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "actors_org_user_idx", + "entityType": "indexes", + "schema": "public", + "table": "actors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "agent_name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "actors_org_agent_name_idx", + "entityType": "indexes", + "schema": "public", + "table": "actors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "type", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "actors_org_type_idx", + "entityType": "indexes", + "schema": "public", + "table": "actors" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "last_seen_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_fingerprint_candidates_last_seen_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_incidents_org_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "last_triggered_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_incidents_org_status_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_incidents" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_events_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "actor_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_events_actor_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "type", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_events_type_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "provider", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "repo_full_name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_pull_requests_issue_pr_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "provider", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "repo_full_name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_pull_requests_repo_number_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_pull_requests_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_pull_requests" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "verify_after", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_verifications_due_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_verifications_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": "\"status\" in ('waiting', 'running')", + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issue_verifications_open_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issue_verifications" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "fingerprint_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_fp_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "workflow_state", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_workflow_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "severity", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_severity_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "last_seen_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": "\"archived_at\" is null", + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_live_seen_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "fingerprint_version", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_fp_version_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "assigned_actor_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_assignee_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "lease_expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_lease_expiry_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "archived_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": "\"archived_at\" is not null", + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_issues_org_archived_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "scheduled_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "claim_expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_notification_deliveries_due_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_notification_deliveries_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "delivery_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "destination_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_notification_deliveries_key_destination_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_notification_deliveries" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "claim_expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "error_tick_states_claim_idx", + "entityType": "indexes", + "schema": "public", + "table": "error_tick_states" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "dedupe_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "issue_escalations_dedupe_idx", + "entityType": "indexes", + "schema": "public", + "table": "issue_escalations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "issue_escalations_due_idx", + "entityType": "indexes", + "schema": "public", + "table": "issue_escalations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "issue_escalations_org_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "issue_escalations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "incident_kind", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "incident_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": "\"incident_id\" is not null", + "with": "", + "method": "btree", + "concurrently": false, + "name": "investigations_incident_idx", + "entityType": "indexes", + "schema": "public", + "table": "investigations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "investigations_org_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "investigations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "issue_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "investigations_org_issue_idx", + "entityType": "indexes", + "schema": "public", + "table": "investigations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "status", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "investigations_org_status_idx", + "entityType": "indexes", + "schema": "public", + "table": "investigations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "device_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "incident_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "live_activities_device_incident_unique", + "entityType": "indexes", + "schema": "public", + "table": "live_activities" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "incident_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "live_activities_incident_idx", + "entityType": "indexes", + "schema": "public", + "table": "live_activities" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "expires_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "oauth_auth_states_expires_idx", + "entityType": "indexes", + "schema": "public", + "table": "oauth_auth_states" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "provider", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "oauth_connections_org_provider_idx", + "entityType": "indexes", + "schema": "public", + "table": "oauth_connections" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "oauth_connections_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "oauth_connections" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_ingest_attribute_mappings_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "org_ingest_attribute_mappings" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_recommendation_issues_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "recommendation_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_recommendation_issues_org_key_idx", + "entityType": "indexes", + "schema": "public", + "table": "org_recommendation_issues" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "public_key", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_ingest_keys_public_key_unique", + "entityType": "indexes", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "public_key_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_ingest_keys_public_key_hash_unique", + "entityType": "indexes", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "private_key_hash", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "org_ingest_keys_private_key_hash_unique", + "entityType": "indexes", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_connections_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_connections" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "database_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_databases_org_db_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_databases" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_databases_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_databases" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "database_name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "event_type", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "external_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "occurred_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_events_dedupe_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "database_name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "occurred_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_events_org_db_time_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "occurred_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_events_org_time_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_events" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "processed_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_issue_receipts_processed_at_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_issue_receipts" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "dataset", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "database_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_poll_state_org_dataset_db_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "planetscale_poll_state_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "planetscale_poll_state" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "railway_connections_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "railway_connections" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "environment_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "railway_environments_org_env_idx", + "entityType": "indexes", + "schema": "public", + "table": "railway_environments" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "connection_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "railway_environments_connection_idx", + "entityType": "indexes", + "schema": "public", + "table": "railway_environments" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "target_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "checked_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "scrape_target_checks_target_checked_idx", + "entityType": "indexes", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "scrape_targets_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "scrape_targets" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "enabled", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "scrape_targets_org_enabled_idx", + "entityType": "indexes", + "schema": "public", + "table": "scrape_targets" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "reply_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "seq", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_edits_reply_seq_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_edits" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "model", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_finding_embeddings_org_model_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_finding_embeddings" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "handle", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_findings_pr_handle_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_findings" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_findings_org_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_findings" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "comment_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_replies_repo_comment_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_replies" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_review_replies_org_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_review_replies" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "head_sha", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_reviews_repo_number_head_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_reviews" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "number", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_reviews_repo_number_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_reviews" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "created_at", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_reviews_org_created_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_reviews" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "post_merge_after", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": "\"post_merge_status\" = 'waiting'", + "with": "", + "method": "btree", + "concurrently": false, + "name": "pr_reviews_post_merge_due_idx", + "entityType": "indexes", + "schema": "public", + "table": "pr_reviews" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "sha", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_commits_repo_sha_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_commits" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "sha", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_commits_org_sha_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_commits" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "provider", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "external_installation_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_installations_provider_external_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_installations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_installations_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_installations" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "provider", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "external_repo_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_repositories_org_repo_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_repositories" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_repositories_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_repositories" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "installation_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_repositories_installation_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_repositories" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "repository_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + }, + { + "value": "name", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": true, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_repository_branches_repo_name_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "nameExplicit": true, + "columns": [ + { + "value": "org_id", + "isExpression": false, + "asc": true, + "nullsFirst": false, + "opclass": null + } + ], + "isUnique": false, + "where": null, + "with": "", + "method": "btree", + "concurrently": false, + "name": "vcs_repository_branches_org_idx", + "entityType": "indexes", + "schema": "public", + "table": "vcs_repository_branches" + }, + { + "nameExplicit": true, + "columns": [ + "org_id", + "dashboard_id" + ], + "schemaTo": "public", + "tableTo": "dashboards", + "columnsTo": [ + "org_id", + "id" + ], + "onUpdate": "NO ACTION", + "onDelete": "CASCADE", + "name": "dashboard_shares_dashboard_fk", + "entityType": "fks", + "schema": "public", + "table": "dashboard_shares" + }, + { + "nameExplicit": false, + "columns": [ + "target_id" + ], + "schemaTo": "public", + "tableTo": "scrape_targets", + "columnsTo": [ + "id" + ], + "onUpdate": "NO ACTION", + "onDelete": "CASCADE", + "name": "scrape_target_checks_target_id_scrape_targets_id_fk", + "entityType": "fks", + "schema": "public", + "table": "scrape_target_checks" + }, + { + "columns": [ + "org_id", + "rule_id", + "group_key" + ], + "nameExplicit": false, + "name": "alert_rule_states_org_id_rule_id_group_key_pk", + "entityType": "pks", + "schema": "public", + "table": "alert_rule_states" + }, + { + "columns": [ + "org_id", + "detector_key" + ], + "nameExplicit": false, + "name": "anomaly_detector_states_org_id_detector_key_pk", + "entityType": "pks", + "schema": "public", + "table": "anomaly_detector_states" + }, + { + "columns": [ + "org_id", + "id" + ], + "nameExplicit": false, + "name": "dashboard_shares_org_id_id_pk", + "entityType": "pks", + "schema": "public", + "table": "dashboard_shares" + }, + { + "columns": [ + "org_id", + "id" + ], + "nameExplicit": false, + "name": "dashboard_versions_org_id_id_pk", + "entityType": "pks", + "schema": "public", + "table": "dashboard_versions" + }, + { + "columns": [ + "org_id", + "id" + ], + "nameExplicit": false, + "name": "dashboards_org_id_id_pk", + "entityType": "pks", + "schema": "public", + "table": "dashboards" + }, + { + "columns": [ + "org_id", + "fingerprint_hash" + ], + "nameExplicit": false, + "name": "error_fingerprint_candidates_org_id_fingerprint_hash_pk", + "entityType": "pks", + "schema": "public", + "table": "error_fingerprint_candidates" + }, + { + "columns": [ + "org_id", + "issue_id" + ], + "nameExplicit": false, + "name": "error_issue_states_org_id_issue_id_pk", + "entityType": "pks", + "schema": "public", + "table": "error_issue_states" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_ingest_keys_org_id_pk", + "entityType": "pks", + "schema": "public", + "table": "org_ingest_keys" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_clickhouse_settings_org_id_pk", + "entityType": "pks", + "schema": "public", + "table": "org_clickhouse_settings" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_clickhouse_schema_apply_runs_org_id_pk", + "entityType": "pks", + "schema": "public", + "table": "org_clickhouse_schema_apply_runs" + }, + { + "columns": [ + "org_id", + "event_id" + ], + "nameExplicit": false, + "name": "planetscale_issue_receipts_org_id_event_id_pk", + "entityType": "pks", + "schema": "public", + "table": "planetscale_issue_receipts" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "agent_feedback_pkey", + "schema": "public", + "table": "agent_feedback", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "ai_triage_settings_pkey", + "schema": "public", + "table": "ai_triage_settings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "alert_delivery_events_pkey", + "schema": "public", + "table": "alert_delivery_events", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "alert_destinations_pkey", + "schema": "public", + "table": "alert_destinations", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "alert_incidents_pkey", + "schema": "public", + "table": "alert_incidents", + "entityType": "pks" + }, + { + "columns": [ + "rule_id" + ], + "nameExplicit": false, + "name": "alert_rule_claims_pkey", + "schema": "public", + "table": "alert_rule_claims", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "alert_rules_pkey", + "schema": "public", + "table": "alert_rules", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "anomaly_detector_settings_pkey", + "schema": "public", + "table": "anomaly_detector_settings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "anomaly_incidents_pkey", + "schema": "public", + "table": "anomaly_incidents", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "api_keys_pkey", + "schema": "public", + "table": "api_keys", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "chat_identities_pkey", + "schema": "public", + "table": "chat_identities", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "chat_workspaces_pkey", + "schema": "public", + "table": "chat_workspaces", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "cloudflare_analytics_state_pkey", + "schema": "public", + "table": "cloudflare_analytics_state", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "cloudflare_hyperdrive_configs_pkey", + "schema": "public", + "table": "cloudflare_hyperdrive_configs", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "cloudflare_logpush_connectors_pkey", + "schema": "public", + "table": "cloudflare_logpush_connectors", + "entityType": "pks" + }, + { + "columns": [ + "device_code_hash" + ], + "nameExplicit": false, + "name": "cli_device_authorizations_pkey", + "schema": "public", + "table": "cli_device_authorizations", + "entityType": "pks" + }, + { + "columns": [ + "request_id_hash" + ], + "nameExplicit": false, + "name": "mcp_oauth_authorizations_pkey", + "schema": "public", + "table": "mcp_oauth_authorizations", + "entityType": "pks" + }, + { + "columns": [ + "client_id" + ], + "nameExplicit": false, + "name": "mcp_oauth_clients_pkey", + "schema": "public", + "table": "mcp_oauth_clients", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "mcp_oauth_refresh_tokens_pkey", + "schema": "public", + "table": "mcp_oauth_refresh_tokens", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "mobile_devices_pkey", + "schema": "public", + "table": "mobile_devices", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "digest_subscriptions_pkey", + "schema": "public", + "table": "digest_subscriptions", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "actors_pkey", + "schema": "public", + "table": "actors", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_incidents_pkey", + "schema": "public", + "table": "error_incidents", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_issue_events_pkey", + "schema": "public", + "table": "error_issue_events", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_issue_pull_requests_pkey", + "schema": "public", + "table": "error_issue_pull_requests", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_issue_verifications_pkey", + "schema": "public", + "table": "error_issue_verifications", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_issues_pkey", + "schema": "public", + "table": "error_issues", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "error_notification_deliveries_pkey", + "schema": "public", + "table": "error_notification_deliveries", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "error_notification_policies_pkey", + "schema": "public", + "table": "error_notification_policies", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "error_tick_states_pkey", + "schema": "public", + "table": "error_tick_states", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "issue_escalation_policies_pkey", + "schema": "public", + "table": "issue_escalation_policies", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "issue_escalations_pkey", + "schema": "public", + "table": "issue_escalations", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "investigations_pkey", + "schema": "public", + "table": "investigations", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "live_activities_pkey", + "schema": "public", + "table": "live_activities", + "entityType": "pks" + }, + { + "columns": [ + "state" + ], + "nameExplicit": false, + "name": "oauth_auth_states_pkey", + "schema": "public", + "table": "oauth_auth_states", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "oauth_connections_pkey", + "schema": "public", + "table": "oauth_connections", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_onboarding_state_pkey", + "schema": "public", + "table": "org_onboarding_state", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "org_ingest_attribute_mappings_pkey", + "schema": "public", + "table": "org_ingest_attribute_mappings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "org_recommendation_issues_pkey", + "schema": "public", + "table": "org_recommendation_issues", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_ingest_sampling_policies_pkey", + "schema": "public", + "table": "org_ingest_sampling_policies", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "planetscale_connections_pkey", + "schema": "public", + "table": "planetscale_connections", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "planetscale_databases_pkey", + "schema": "public", + "table": "planetscale_databases", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "planetscale_events_pkey", + "schema": "public", + "table": "planetscale_events", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "planetscale_poll_state_pkey", + "schema": "public", + "table": "planetscale_poll_state", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "railway_connections_pkey", + "schema": "public", + "table": "railway_connections", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "railway_environments_pkey", + "schema": "public", + "table": "railway_environments", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "scrape_target_checks_pkey", + "schema": "public", + "table": "scrape_target_checks", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "scrape_targets_pkey", + "schema": "public", + "table": "scrape_targets", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "org_support_channels_pkey", + "schema": "public", + "table": "org_support_channels", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "pr_review_edits_pkey", + "schema": "public", + "table": "pr_review_edits", + "entityType": "pks" + }, + { + "columns": [ + "finding_id" + ], + "nameExplicit": false, + "name": "pr_review_finding_embeddings_pkey", + "schema": "public", + "table": "pr_review_finding_embeddings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "pr_review_findings_pkey", + "schema": "public", + "table": "pr_review_findings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "pr_review_replies_pkey", + "schema": "public", + "table": "pr_review_replies", + "entityType": "pks" + }, + { + "columns": [ + "org_id" + ], + "nameExplicit": false, + "name": "pr_review_settings_pkey", + "schema": "public", + "table": "pr_review_settings", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "pr_reviews_pkey", + "schema": "public", + "table": "pr_reviews", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "vcs_commits_pkey", + "schema": "public", + "table": "vcs_commits", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "vcs_installations_pkey", + "schema": "public", + "table": "vcs_installations", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "vcs_repositories_pkey", + "schema": "public", + "table": "vcs_repositories", + "entityType": "pks" + }, + { + "columns": [ + "id" + ], + "nameExplicit": false, + "name": "vcs_repository_branches_pkey", + "schema": "public", + "table": "vcs_repository_branches", + "entityType": "pks" + } + ], + "renames": [] +} \ No newline at end of file diff --git a/packages/domain/src/http/pr-review.test.ts b/packages/domain/src/http/pr-review.test.ts index 6020ddeac..5fa1ff1ef 100644 --- a/packages/domain/src/http/pr-review.test.ts +++ b/packages/domain/src/http/pr-review.test.ts @@ -354,45 +354,57 @@ describe("confidencePrReview", () => { const score = (...args: Parameters) => confidencePrReview(reportWith(...args))?.confidence - it("reads 5 for a clean, tested, contained change and ignores notes", () => { - assert.equal(score([], { tests: "covered", risk: "low" }), 5) - assert.equal(score([], { tests: "not_needed", risk: "low" }), 5) - assert.equal(score([finding("info")], { tests: "covered", risk: "low" }), 5) + it("reads 10 for a clean, tested, contained change and ignores a note", () => { + assert.equal(score([], { tests: "covered", risk: "low" }), 10) + assert.equal(score([], { tests: "not_needed", risk: "low" }), 10) + assert.equal(score([finding("info")], { tests: "covered", risk: "low" }), 10) assert.isUndefined(confidencePrReview(reportWith([], { verdict: "not_applicable" }))) }) - it("takes off for untested behavior, a risky area and unobservable work", () => { - assert.equal(score([], { tests: "partial", risk: "low" }), 4) - assert.equal(score([], { tests: "covered", risk: "medium" }), 4) - assert.equal(score([], { tests: "missing", risk: "low" }), 4) - assert.equal(score([], { tests: "missing", risk: "high" }), 3) - assert.equal(score([], { tests: "covered", risk: "low", unobservable: true }), 4) + it("keeps one soft signal in the safe band", () => { + // The calibration this scale exists for: a clean review with one soft signal read 4/5. + assert.equal(score([], { tests: "partial", risk: "low" }), 9) + assert.equal(score([], { tests: "covered", risk: "medium" }), 9) + assert.equal(score([], { tests: "not_needed", risk: "medium" }), 9) + assert.equal(score([], { tests: "partial", risk: "medium" }), 8) + assert.equal(score([], { tests: "covered", risk: "high" }), 8) + }) + + it("takes whole points off for untested behavior, a risky area and unobservable work", () => { + assert.equal(score([], { tests: "missing", risk: "low" }), 8) + assert.equal(score([], { tests: "missing", risk: "high" }), 6) + assert.equal(score([], { tests: "covered", risk: "low", unobservable: true }), 9) + assert.equal(score([], { tests: "missing", risk: "high", unobservable: true }), 5) }) it("folds the findings' quality score in", () => { - assert.equal(score([finding("warn")], { tests: "covered", risk: "low" }), 4) - assert.equal(score([finding("warn"), finding("warn")], { tests: "covered", risk: "low" }), 3) - assert.equal(score([finding("warn")], { tests: "missing", risk: "high" }), 2) + assert.equal(score([finding("info"), finding("info")], { tests: "covered", risk: "low" }), 9) + assert.equal(score([finding("warn")], { tests: "covered", risk: "low" }), 8) + assert.equal(score([finding("warn")], { tests: "partial", risk: "medium" }), 6) + assert.equal(score([finding("warn"), finding("warn")], { tests: "covered", risk: "low" }), 6) + assert.equal(score([finding("warn")], { tests: "missing", risk: "high" }), 4) }) it("caps on a critical, a security warning or an early end, and says why", () => { const one = confidencePrReview(reportWith([finding("critical")], { tests: "covered", risk: "low" })) - assert.equal(one?.confidence, 2) - assert.equal(one?.reason, "Held at 2 because a critical finding is open.") + assert.equal(one?.confidence, 4) + assert.equal(one?.reason, "Held at 4 because a critical finding is open.") assert.equal(one?.cappedBy, "critical") assert.equal( confidencePrReview(reportWith([finding("critical")]), [finding("critical")])?.confidence, - 1, + 2, ) - assert.equal(score([finding("warn", "security")]), 3) - assert.equal(confidencePrReview(reportWith([]), [], true)?.confidence, 3) + assert.equal(score([finding("warn", "security")]), 6) + assert.equal(confidencePrReview(reportWith([]), [], true)?.confidence, 6) }) - it("lets the reviewer lower the number by one point, never raise it", () => { - assert.equal(score([], { confidence: 1 }), 4) - assert.equal(score([], { confidence: 4 }), 4) - assert.equal(score([finding("warn"), finding("warn")], { confidence: 5 }), 3) - assert.equal(confidencePrReview(reportWith([], { confidence: 4 }))?.reason, "why") + it("lets the reviewer lower the number by two points or raise it by one, never past a cap", () => { + assert.equal(score([], { confidence: 1 }), 8) + assert.equal(score([], { confidence: 9 }), 9) + assert.equal(score([], { tests: "partial", risk: "medium", confidence: 10 }), 9) + assert.equal(score([finding("warn")], { confidence: 10 }), 8) + assert.equal(score([finding("warn"), finding("warn")], { confidence: 10 }), 7) + assert.equal(confidencePrReview(reportWith([], { confidence: 9 }))?.reason, "why") }) it("keeps a known test or risk signal and drops an unknown one", () => { @@ -414,8 +426,8 @@ describe("confidencePrReview", () => { }) it("normalizes a quoted or out-of-range number from the model", () => { - const high = normalizePrReviewSubmission({ verdict: "clean", summary: "s", confidence: "9" }).report - assert.equal(high.confidence, 5) + const high = normalizePrReviewSubmission({ verdict: "clean", summary: "s", confidence: "14" }).report + assert.equal(high.confidence, 10) const low = normalizePrReviewSubmission({ verdict: "clean", summary: "s", confidence: 0.2 }).report assert.equal(low.confidence, 1) }) diff --git a/packages/domain/src/http/pr-review.ts b/packages/domain/src/http/pr-review.ts index 00b233197..79b334299 100644 --- a/packages/domain/src/http/pr-review.ts +++ b/packages/domain/src/http/pr-review.ts @@ -301,7 +301,7 @@ export class PrReviewReport extends Schema.Class("PrReviewReport /** How much the touched code can break; one input to the confidence. */ risk: Schema.optionalKey(PrReviewRisk), /** - * How safe the change is to merge, 1 to 5, computed from the findings, tests, risk and + * How safe the change is to merge, 1 to 10, computed from the findings, tests, risk and * observability coverage. Stored computed; see {@link confidencePrReview}. */ confidence: Schema.optionalKey(Schema.Number), @@ -543,7 +543,9 @@ export const normalizePrReviewSubmission = (submission: PrReviewSubmission): Nor const risk = typeof submission.risk === "string" ? submission.risk.trim().toLowerCase() : undefined const rawConfidence = toNumber(submission.confidence) const confidence = - rawConfidence === undefined ? undefined : Math.min(5, Math.max(1, Math.round(rawConfidence))) + rawConfidence === undefined + ? undefined + : Math.min(PR_REVIEW_CONFIDENCE_MAX, Math.max(1, Math.round(rawConfidence))) const confidenceReason = submission.confidenceReason?.trim() return { report: new PrReviewReport({ @@ -616,17 +618,29 @@ export const scorePrReview = ( return { score, grade } } -/** What each confidence level tells the author. */ +/** The top of the confidence scale. Reports stored before 2026-10-07 were on 1 to 5 and migrated. */ +export const PR_REVIEW_CONFIDENCE_MAX = 10 + +/** What each confidence level tells the author: two levels per band. */ export const PR_REVIEW_CONFIDENCE_LABEL = { - 5: "safe to merge", - 4: "likely safe to merge", - 3: "needs attention", - 2: "risky as written", + 10: "safe to merge", + 9: "safe to merge", + 8: "likely safe to merge", + 7: "likely safe to merge", + 6: "needs attention", + 5: "needs attention", + 4: "risky as written", + 3: "risky as written", + 2: "do not merge", 1: "do not merge", } as const satisfies Record export type PrReviewConfidence = keyof typeof PR_REVIEW_CONFIDENCE_LABEL +/** The band a level reads as: green from 7, amber at 5 and 6, red below. */ +export const prReviewConfidenceTone = (confidence: number): "safe" | "attention" | "risky" => + confidence >= 7 ? "safe" : confidence >= 5 ? "attention" : "risky" + export interface PrReviewConfidenceResult { readonly confidence: PrReviewConfidence /** One sentence on what decides the number: the reviewer's, or why a finding held it down. */ @@ -639,31 +653,52 @@ export interface PrReviewConfidenceResult { readonly cappedBy?: "critical" | "warn" | "partial" } -/** What each signal takes off a 5, before rounding. */ +/** + * What each signal takes off a 10. Whole points, so one soft signal (partial tests, a medium-risk + * area) moves a clean review from 10 to 9, still "safe to merge"; on the old 1 to 5 scale it cost + * a whole band. + */ export const PR_REVIEW_CONFIDENCE_DEDUCTION = { - tests: { covered: 0, not_needed: 0, partial: 0.5, missing: 1 }, - risk: { low: 0, medium: 0.5, high: 1 }, - unobservable: 0.5, + tests: { covered: 0, not_needed: 0, partial: 1, missing: 2 }, + risk: { low: 0, medium: 1, high: 2 }, + unobservable: 1, } as const +/** How far the reviewer's own number may move the computed one: down for what it read, up rarely. */ +export const PR_REVIEW_CONFIDENCE_JUDGEMENT = { lower: 2, raise: 1 } as const + +const CONFIDENCE_LEVELS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] as const satisfies ReadonlyArray + const toConfidence = (value: number): PrReviewConfidence => - value >= 5 ? 5 : value >= 4 ? 4 : value >= 3 ? 3 : value >= 2 ? 2 : 1 + CONFIDENCE_LEVELS.filter((level) => level <= value).at(-1) ?? 1 + +/** Findings' quality score on the confidence scale: a note reads 10, a warning 8, two warnings 6. */ +const QUALITY_LEVELS: ReadonlyArray = [ + [98, 10], + [95, 9], + [90, 8], + [85, 7], + [80, 6], + [70, 5], + [60, 4], + [45, 3], + [25, 2], +] -/** Findings' quality score on the confidence scale: one warning reads 4, two read 3. */ const qualityLevel = (score: number): number => - score >= 95 ? 5 : score >= 85 ? 4 : score >= 70 ? 3 : score >= 45 ? 2 : 1 + QUALITY_LEVELS.find(([minScore]) => score >= minScore)?.[1] ?? 1 const findingPhrase = (n: number, label: string) => `${n} ${label}${n === 1 ? "" : "s"}` /** - * The review's confidence that the change is safe to merge, 1 to 5, computed rather than asked of + * The review's confidence that the change is safe to merge, 1 to 10, computed rather than asked of * the model so the same change scores the same and the comment can say why. * - * It starts from the findings' quality score, then takes off for untested behavior, a high-risk - * area and new work that cannot be observed. Rounding is half-down, so one half-point signal is - * enough to leave 5. Findings cap it: a critical at 2 (1 with more than one), a security warning - * at 3, any warning at 4, and a review that ended early at 3. The reviewer's own number can lower - * the result by one point, never raise it. `undefined` for a pull request with nothing to review. + * It starts from the findings' quality score, then takes whole points off for untested behavior, a + * risky area and new work that cannot be observed. Findings cap it: a critical at 4 (2 with more + * than one), a security warning at 6, any warning at 8, and a review that ended early at 6. The + * reviewer's own number can lower the result by up to two points or raise it by one, never past a + * cap. `undefined` for a pull request with nothing to review. */ export const confidencePrReview = ( report: PrReviewReport, @@ -699,13 +734,16 @@ export const confidencePrReview = ( (report.tests === undefined ? 0 : PR_REVIEW_CONFIDENCE_DEDUCTION.tests[report.tests]) + (report.risk === undefined ? 0 : PR_REVIEW_CONFIDENCE_DEDUCTION.risk[report.risk]) + (unobservable > 0 ? PR_REVIEW_CONFIDENCE_DEDUCTION.unobservable : 0) - const signals = Math.max(1, Math.ceil(qualityLevel(score) - deduction - 0.5)) + const signals = Math.max(1, qualityLevel(score) - deduction) const judged = report.confidence === undefined ? signals - : Math.max(signals - 1, Math.min(signals, Math.round(report.confidence))) + : Math.max( + signals - PR_REVIEW_CONFIDENCE_JUDGEMENT.lower, + Math.min(signals + PR_REVIEW_CONFIDENCE_JUDGEMENT.raise, Math.round(report.confidence)), + ) - // In the order the caps bind: a security warning holds at 3 like an early end, any other at 4. + // In the order the caps bind: a security warning holds at 6 like an early end, any other at 8. const cappedBy = criticals > 0 ? "critical" @@ -716,7 +754,16 @@ export const confidencePrReview = ( : warns > 0 ? "warn" : undefined - const cap = criticals > 1 ? 1 : criticals === 1 ? 2 : securityWarn || partial ? 3 : warns > 0 ? 4 : 5 + const cap = + criticals > 1 + ? 2 + : criticals === 1 + ? 4 + : securityWarn || partial + ? 6 + : warns > 0 + ? 8 + : PR_REVIEW_CONFIDENCE_MAX const confidence = toConfidence(Math.min(cap, judged)) if (judged > cap) { const why = @@ -767,7 +814,7 @@ export class PrReviewListItem extends Schema.Class("PrReviewLi skipReason: Schema.NullOr(PrReviewSkipReason), verdict: Schema.NullOr(PrReviewVerdict), score: Schema.NullOr(Schema.Number), - /** 1 to 5; null until a report is stored, and for reports stored before confidence existed. */ + /** 1 to 10; null until a report is stored, and for reports stored before confidence existed. */ confidence: Schema.NullOr(Schema.Number), findings: Schema.Number, commentUrl: Schema.NullOr(Schema.String),