Skip to content

Core Tables

The 6 foundational tables from migration 001_initial_schema.

installations

GitHub App installations (orgs/users that installed GitWire).

ColumnTypeDescription
idBIGSERIAL PKInternal ID
github_idBIGINT UNIQUEGitHub installation ID
account_loginTEXTOrg or user login
account_typeTEXTOrganization or User
target_idBIGINTInstallation target ID
created_atTIMESTAMPTZCreation timestamp
updated_atTIMESTAMPTZLast update
deleted_atTIMESTAMPTZSoft-delete (uninstalled)

repositories

Synced GitHub repositories.

ColumnTypeDescription
idBIGSERIAL PKInternal ID
github_idBIGINT UNIQUEGitHub repo ID
installation_idBIGINT FK → installationsParent installation
full_nameTEXTowner/repo
ownerTEXTRepository owner
nameTEXTRepository name
privateBOOLEANPrivate repo flag
default_branchTEXTDefault branch name
languageTEXTPrimary language
starsINTStar count
open_issuesINTOpen issue count
open_prsINTOpen PR count
last_synced_atTIMESTAMPTZLast sync timestamp

issues

GitHub issues with AI triage fields.

ColumnTypeDescription
idBIGSERIAL PKInternal ID
github_idBIGINT UNIQUEGitHub issue ID
repo_idBIGINT FK → repositoriesParent repo
numberINTIssue number
titleTEXTIssue title
stateTEXTopen or closed
labelsTEXT[]GitHub labels
assigneesTEXT[]Assigned users
triage_typeTEXTAI: bug, feature, etc.
triage_priorityTEXTAI: critical, high, medium, low
triage_summaryTEXTAI: one-line summary
triaged_atTIMESTAMPTZWhen triaged

pull_requests

Pull requests with AI triage fields.

ColumnTypeDescription
idBIGSERIAL PKInternal ID
github_idBIGINT UNIQUEGitHub PR ID
repo_idBIGINT FK → repositoriesParent repo
numberINTPR number
titleTEXTPR title
stateTEXTopen, closed, merged
draftBOOLEANDraft PR flag
head_branchTEXTSource branch
base_branchTEXTTarget branch
labelsTEXT[]GitHub labels
triage_typeTEXTAI classification
triage_sizeTEXTsize/XS through size/XL
triage_riskTEXTRisk assessment
triage_summaryTEXTAI summary

ci_runs

GitHub Actions workflow runs with healing fields.

ColumnTypeDescription
idBIGSERIAL PKInternal ID
github_run_idBIGINT UNIQUEGitHub run ID
repo_idBIGINT FK → repositoriesParent repo
workflow_nameTEXTWorkflow name
branchTEXTBranch name
head_shaTEXTCommit SHA
conclusionTEXTsuccess, failure, etc.
heal_statusTEXTpending, attempted, healed, failed, skipped
heal_failure_typeTEXTOne of 9 failure types
heal_root_causeTEXTClaude's diagnosis
heal_fix_appliedTEXTDescription of fix
heal_confidenceTEXThigh, medium, low

webhook_deliveries

Log of all incoming webhooks.

ColumnTypeDescription
idBIGSERIAL PKInternal ID
delivery_idTEXT UNIQUEGitHub delivery ID
event_nameTEXTEvent type
actionTEXTEvent action
repoTEXTRepository name
processedBOOLEANWhether handled
errorTEXTError if failed

Maintainer Tables

Released under the MIT License.