CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
1 2 3 4 5 6 7 8 9 10 | -- Migration 0077: repo_explain_cache table
-- Stores the structured AI analysis result (JSON) for the "Explain This Repo"
-- feature. Keyed per-repo; replaced on regeneration.
CREATE TABLE IF NOT EXISTS repo_explain_cache (
id serial PRIMARY KEY,
repo_id uuid NOT NULL REFERENCES repositories(id) ON DELETE CASCADE,
result jsonb NOT NULL,
created_at timestamp DEFAULT now(),
UNIQUE(repo_id)
);
|