limn-review 0.1.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (474) hide show
  1. package/LICENSE +110 -0
  2. package/README.md +133 -0
  3. package/dist/ai/runtime.js +535 -0
  4. package/dist/api/plugins/auth.js +169 -0
  5. package/dist/api/plugins/error-handler.js +114 -0
  6. package/dist/api/plugins/rate-limit.js +855 -0
  7. package/dist/api/plugins/security.js +321 -0
  8. package/dist/api/routes/activity.js +103 -0
  9. package/dist/api/routes/ai-runtime.js +67 -0
  10. package/dist/api/routes/auth.js +194 -0
  11. package/dist/api/routes/billing.js +209 -0
  12. package/dist/api/routes/bot-triage.js +1289 -0
  13. package/dist/api/routes/conflicts.js +730 -0
  14. package/dist/api/routes/contact.js +318 -0
  15. package/dist/api/routes/daily-brief.js +58 -0
  16. package/dist/api/routes/flow.js +71 -0
  17. package/dist/api/routes/health.js +7 -0
  18. package/dist/api/routes/insights.js +200 -0
  19. package/dist/api/routes/me.js +458 -0
  20. package/dist/api/routes/mentions.js +22 -0
  21. package/dist/api/routes/mergers.js +8 -0
  22. package/dist/api/routes/ml-labels.js +109 -0
  23. package/dist/api/routes/open-prs.js +35 -0
  24. package/dist/api/routes/prs.js +1633 -0
  25. package/dist/api/routes/reactions.js +217 -0
  26. package/dist/api/routes/repos.js +563 -0
  27. package/dist/api/routes/search.js +41 -0
  28. package/dist/api/routes/threads.js +118 -0
  29. package/dist/api/routes/timeline.js +150 -0
  30. package/dist/api/routes/users.js +67 -0
  31. package/dist/api/routes/webhooks.js +181 -0
  32. package/dist/api/routes/workspaces.js +322 -0
  33. package/dist/app.js +274 -0
  34. package/dist/ascii.js +19 -0
  35. package/dist/auth/account.js +482 -0
  36. package/dist/auth/crypto.js +46 -0
  37. package/dist/bot-triage/resolve.js +59 -0
  38. package/dist/cli.js +388 -0
  39. package/dist/coding/activity.js +80 -0
  40. package/dist/coding/agent.js +288 -0
  41. package/dist/coding/ai-fix/auto-fix.js +212 -0
  42. package/dist/coding/ai-fix/manager.js +370 -0
  43. package/dist/coding/ai-fix/persist.js +213 -0
  44. package/dist/coding/ai-fix/pr-context.js +58 -0
  45. package/dist/coding/ai-fix/prompts.js +138 -0
  46. package/dist/coding/ai-fix/review-seed.js +357 -0
  47. package/dist/coding/ai-fix/routes.js +425 -0
  48. package/dist/coding/git-ops.js +321 -0
  49. package/dist/coding/git.js +184 -0
  50. package/dist/coding/merge.js +262 -0
  51. package/dist/coding/safe-path.js +75 -0
  52. package/dist/coding/schema.js +43 -0
  53. package/dist/config.js +648 -0
  54. package/dist/conflict/diff.js +304 -0
  55. package/dist/conflict/git.js +118 -0
  56. package/dist/conflict/hash.js +73 -0
  57. package/dist/conflict/janitor.js +218 -0
  58. package/dist/conflict/land.js +675 -0
  59. package/dist/conflict/model-types.js +2 -0
  60. package/dist/conflict/model.js +1081 -0
  61. package/dist/conflict/parse.js +142 -0
  62. package/dist/conflict/seam.js +136 -0
  63. package/dist/conflict/session.js +532 -0
  64. package/dist/conflict/suggestion.js +398 -0
  65. package/dist/conflict/tokens.js +72 -0
  66. package/dist/data-dir.js +112 -0
  67. package/dist/db/actor-lanes.js +213 -0
  68. package/dist/db/automation-ids.js +97 -0
  69. package/dist/db/automation-output.js +349 -0
  70. package/dist/db/blast-radius-query.js +36 -0
  71. package/dist/db/blast-radius.js +226 -0
  72. package/dist/db/bot-dormancy.js +115 -0
  73. package/dist/db/bot-overlap.js +579 -0
  74. package/dist/db/bot-volume.js +722 -0
  75. package/dist/db/bot-window.js +35 -0
  76. package/dist/db/branch-queries.js +310 -0
  77. package/dist/db/change-shape.js +243 -0
  78. package/dist/db/changepoint.js +75 -0
  79. package/dist/db/cleanup.js +36 -0
  80. package/dist/db/client.js +102 -0
  81. package/dist/db/code-loc.js +388 -0
  82. package/dist/db/credits.js +79 -0
  83. package/dist/db/daily-brief.js +406 -0
  84. package/dist/db/dependency-cards.js +145 -0
  85. package/dist/db/erase-account.js +255 -0
  86. package/dist/db/export-account.js +189 -0
  87. package/dist/db/failing-checks.js +124 -0
  88. package/dist/db/file-coupling.js +197 -0
  89. package/dist/db/flow-detail.js +661 -0
  90. package/dist/db/flow-pointers.js +197 -0
  91. package/dist/db/flow-settings.js +67 -0
  92. package/dist/db/forecast.js +114 -0
  93. package/dist/db/line-overlap.js +81 -0
  94. package/dist/db/merge-queue.js +189 -0
  95. package/dist/db/migrate.js +17 -0
  96. package/dist/db/migrations/0000_purple_ben_grimm.sql +155 -0
  97. package/dist/db/migrations/0001_colorful_ozymandias.sql +31 -0
  98. package/dist/db/migrations/0002_famous_sersi.sql +9 -0
  99. package/dist/db/migrations/0003_clever_shinobi_shaw.sql +3 -0
  100. package/dist/db/migrations/0004_pale_scalphunter.sql +1 -0
  101. package/dist/db/migrations/0005_daffy_guardian.sql +2 -0
  102. package/dist/db/migrations/0006_cute_violations.sql +45 -0
  103. package/dist/db/migrations/0007_dark_anthem.sql +2 -0
  104. package/dist/db/migrations/0008_multitenant_accounts.sql +44 -0
  105. package/dist/db/migrations/0009_lean_bodies.sql +13 -0
  106. package/dist/db/migrations/0010_lean_bodies_nullable.sql +56 -0
  107. package/dist/db/migrations/0011_pr_diff_size.sql +10 -0
  108. package/dist/db/migrations/0012_findings_included_default.sql +7 -0
  109. package/dist/db/migrations/0013_review_routing.sql +9 -0
  110. package/dist/db/migrations/0014_account_last_active.sql +6 -0
  111. package/dist/db/migrations/0015_repos_inbox_watch.sql +9 -0
  112. package/dist/db/migrations/0016_repo_viewer_permission.sql +7 -0
  113. package/dist/db/migrations/0017_account_display_name.sql +7 -0
  114. package/dist/db/migrations/0018_finding_comment_kind.sql +7 -0
  115. package/dist/db/migrations/0019_finding_file_in_diff.sql +7 -0
  116. package/dist/db/migrations/0020_claude_review_cost_telemetry.sql +11 -0
  117. package/dist/db/migrations/0021_account_feed_last_seen.sql +7 -0
  118. package/dist/db/migrations/0022_ci_status_events.sql +21 -0
  119. package/dist/db/migrations/0023_ai_usage.sql +21 -0
  120. package/dist/db/migrations/0024_pr_head_ref_name.sql +6 -0
  121. package/dist/db/migrations/0025_account_billing.sql +7 -0
  122. package/dist/db/migrations/0026_ai_credit_allowance.sql +5 -0
  123. package/dist/db/migrations/0027_user_github_type.sql +6 -0
  124. package/dist/db/migrations/0028_bot_review_classification.sql +21 -0
  125. package/dist/db/migrations/0029_bot_mute_rules.sql +19 -0
  126. package/dist/db/migrations/0030_teams.sql +32 -0
  127. package/dist/db/migrations/0031_events_pr_idx.sql +7 -0
  128. package/dist/db/migrations/0032_benchmark_contributions.sql +29 -0
  129. package/dist/db/migrations/0033_thread_addressed_confidence.sql +9 -0
  130. package/dist/db/migrations/0034_thread_resolved_at.sql +6 -0
  131. package/dist/db/migrations/0035_pr_first_review_requested_at.sql +5 -0
  132. package/dist/db/migrations/0036_search_index.sql +25 -0
  133. package/dist/db/migrations/0037_author_indexes.sql +15 -0
  134. package/dist/db/migrations/0038_auto_merge_requests.sql +37 -0
  135. package/dist/db/migrations/0039_branch_status.sql +44 -0
  136. package/dist/db/migrations/0040_pr_review_decision.sql +10 -0
  137. package/dist/db/migrations/0041_branch_commit_detail.sql +38 -0
  138. package/dist/db/migrations/0042_repo_reviewers.sql +176 -0
  139. package/dist/db/migrations/0043_account_reviewers.sql +131 -0
  140. package/dist/db/migrations/0044_workspaces.sql +138 -0
  141. package/dist/db/migrations/0045_workspace_reviewers.sql +180 -0
  142. package/dist/db/migrations/0046_drop_inbox_watch.sql +25 -0
  143. package/dist/db/migrations/0047_ml_comment_labels.sql +40 -0
  144. package/dist/db/migrations/0048_ml_vendor_severity.sql +31 -0
  145. package/dist/db/migrations/0049_seat_pricing_repo_description.sql +21 -0
  146. package/dist/db/migrations/0050_users_app_slug.sql +12 -0
  147. package/dist/db/migrations/0051_auto_merge_queue.sql +17 -0
  148. package/dist/db/migrations/0052_trunk_ci_status_events.sql +43 -0
  149. package/dist/db/migrations/0053_automation_roles.sql +79 -0
  150. package/dist/db/migrations/0054_automation_vendor_kinds.sql +514 -0
  151. package/dist/db/migrations/0055_auto_merge_phase.sql +12 -0
  152. package/dist/db/migrations/0056_pr_mentions.sql +22 -0
  153. package/dist/db/migrations/0057_large_pr_threshold.sql +14 -0
  154. package/dist/db/migrations/0058_pending_mute.sql +53 -0
  155. package/dist/db/migrations/0059_merge_queue_state.sql +33 -0
  156. package/dist/db/migrations/0060_drop_my_turn_dismissals.sql +33 -0
  157. package/dist/db/migrations/0061_auto_merge_durable_anchors.sql +27 -0
  158. package/dist/db/migrations/0062_blast_radius_config.sql +21 -0
  159. package/dist/db/migrations/0063_repo_file_coupling.sql +33 -0
  160. package/dist/db/migrations/0064_pr_content_kind.sql +21 -0
  161. package/dist/db/migrations/0065_workspace_flow_settings.sql +13 -0
  162. package/dist/db/migrations/0066_review_request_events.sql +31 -0
  163. package/dist/db/migrations/0067_pr_security_signals.sql +86 -0
  164. package/dist/db/migrations/0068_my_turn_settings.sql +18 -0
  165. package/dist/db/migrations/0069_my_turn_dismissals.sql +41 -0
  166. package/dist/db/migrations/0070_claude_review_follow_up_ticket.sql +22 -0
  167. package/dist/db/migrations/0071_claude_review_trigger.sql +11 -0
  168. package/dist/db/migrations/0072_commit_message_headline.sql +13 -0
  169. package/dist/db/migrations/0073_claude_review_chat.sql +31 -0
  170. package/dist/db/migrations/0074_adopt_agentic_tables.sql +98 -0
  171. package/dist/db/migrations/0075_review_lens_drop_learnings.sql +15 -0
  172. package/dist/db/migrations/0076_claude_review_threads.sql +17 -0
  173. package/dist/db/migrations/0077_claude_review_ci_failures.sql +10 -0
  174. package/dist/db/migrations/0078_ai_fix_change_report.sql +17 -0
  175. package/dist/db/migrations/0079_claude_finding_story.sql +16 -0
  176. package/dist/db/migrations/meta/0000_snapshot.json +1116 -0
  177. package/dist/db/migrations/meta/0001_snapshot.json +1321 -0
  178. package/dist/db/migrations/meta/0002_snapshot.json +1375 -0
  179. package/dist/db/migrations/meta/0003_snapshot.json +1396 -0
  180. package/dist/db/migrations/meta/0004_snapshot.json +1416 -0
  181. package/dist/db/migrations/meta/0005_snapshot.json +1430 -0
  182. package/dist/db/migrations/meta/0006_snapshot.json +1745 -0
  183. package/dist/db/migrations/meta/0007_snapshot.json +1759 -0
  184. package/dist/db/migrations/meta/_journal.json +566 -0
  185. package/dist/db/migrations-pg/0000_tired_alex_power.sql +268 -0
  186. package/dist/db/migrations-pg/0001_dizzy_mockingbird.sql +3 -0
  187. package/dist/db/migrations-pg/0002_glorious_ikaris.sql +4 -0
  188. package/dist/db/migrations-pg/0003_melted_secret_warriors.sql +2 -0
  189. package/dist/db/migrations-pg/0004_numerous_triton.sql +1 -0
  190. package/dist/db/migrations-pg/0005_thick_blockbuster.sql +2 -0
  191. package/dist/db/migrations-pg/0006_majestic_dracula.sql +1 -0
  192. package/dist/db/migrations-pg/0007_same_human_torch.sql +2 -0
  193. package/dist/db/migrations-pg/0008_slimy_toxin.sql +1 -0
  194. package/dist/db/migrations-pg/0009_fuzzy_jubilee.sql +4 -0
  195. package/dist/db/migrations-pg/0010_late_hammerhead.sql +1 -0
  196. package/dist/db/migrations-pg/0011_happy_leech.sql +16 -0
  197. package/dist/db/migrations-pg/0012_woozy_captain_midlands.sql +16 -0
  198. package/dist/db/migrations-pg/0013_yielding_nicolaos.sql +1 -0
  199. package/dist/db/migrations-pg/0014_wakeful_bill_hollister.sql +2 -0
  200. package/dist/db/migrations-pg/0015_aspiring_black_tom.sql +1 -0
  201. package/dist/db/migrations-pg/0016_cute_ghost_rider.sql +30 -0
  202. package/dist/db/migrations-pg/0017_far_changeling.sql +24 -0
  203. package/dist/db/migrations-pg/0018_fancy_miss_america.sql +1 -0
  204. package/dist/db/migrations-pg/0019_benchmark_contributions.sql +22 -0
  205. package/dist/db/migrations-pg/0020_majestic_edwin_jarvis.sql +3 -0
  206. package/dist/db/migrations-pg/0021_green_salo.sql +1 -0
  207. package/dist/db/migrations-pg/0022_wise_baron_strucker.sql +1 -0
  208. package/dist/db/migrations-pg/0023_search_index.sql +19 -0
  209. package/dist/db/migrations-pg/0024_author_indexes.sql +9 -0
  210. package/dist/db/migrations-pg/0025_auto_merge_requests.sql +26 -0
  211. package/dist/db/migrations-pg/0026_branch_status.sql +32 -0
  212. package/dist/db/migrations-pg/0027_pr_review_decision.sql +5 -0
  213. package/dist/db/migrations-pg/0028_branch_commit_detail.sql +9 -0
  214. package/dist/db/migrations-pg/0029_repo_reviewers.sql +127 -0
  215. package/dist/db/migrations-pg/0030_account_reviewers.sql +77 -0
  216. package/dist/db/migrations-pg/0031_workspaces.sql +131 -0
  217. package/dist/db/migrations-pg/0032_workspace_reviewers.sql +165 -0
  218. package/dist/db/migrations-pg/0033_drop_inbox_watch.sql +14 -0
  219. package/dist/db/migrations-pg/0034_ml_comment_labels.sql +33 -0
  220. package/dist/db/migrations-pg/0035_ml_vendor_severity.sql +16 -0
  221. package/dist/db/migrations-pg/0036_seat_pricing_repo_description.sql +12 -0
  222. package/dist/db/migrations-pg/0037_users_app_slug.sql +9 -0
  223. package/dist/db/migrations-pg/0038_auto_merge_queue.sql +10 -0
  224. package/dist/db/migrations-pg/0039_trunk_ci_status_events.sql +27 -0
  225. package/dist/db/migrations-pg/0040_automation_roles.sql +63 -0
  226. package/dist/db/migrations-pg/0041_automation_vendor_kinds.sql +488 -0
  227. package/dist/db/migrations-pg/0042_auto_merge_phase.sql +8 -0
  228. package/dist/db/migrations-pg/0043_pr_mentions.sql +19 -0
  229. package/dist/db/migrations-pg/0044_large_pr_threshold.sql +6 -0
  230. package/dist/db/migrations-pg/0045_pending_mute.sql +26 -0
  231. package/dist/db/migrations-pg/0046_merge_queue_state.sql +18 -0
  232. package/dist/db/migrations-pg/0047_drop_my_turn_dismissals.sql +21 -0
  233. package/dist/db/migrations-pg/0048_auto_merge_durable_anchors.sql +27 -0
  234. package/dist/db/migrations-pg/0049_blast_radius_config.sql +8 -0
  235. package/dist/db/migrations-pg/0050_repo_file_coupling.sql +13 -0
  236. package/dist/db/migrations-pg/0051_pr_content_kind.sql +6 -0
  237. package/dist/db/migrations-pg/0052_workspace_flow_settings.sql +4 -0
  238. package/dist/db/migrations-pg/0053_review_request_events.sql +18 -0
  239. package/dist/db/migrations-pg/0054_pr_security_signals.sql +59 -0
  240. package/dist/db/migrations-pg/0055_my_turn_settings.sql +6 -0
  241. package/dist/db/migrations-pg/0056_my_turn_dismissals.sql +21 -0
  242. package/dist/db/migrations-pg/0057_claude_review_follow_up_ticket.sql +8 -0
  243. package/dist/db/migrations-pg/0058_claude_review_trigger.sql +4 -0
  244. package/dist/db/migrations-pg/0059_commit_message_headline.sql +3 -0
  245. package/dist/db/migrations-pg/0060_claude_review_chat.sql +24 -0
  246. package/dist/db/migrations-pg/0061_adopt_agentic_tables.sql +79 -0
  247. package/dist/db/migrations-pg/0062_review_lens_drop_learnings.sql +5 -0
  248. package/dist/db/migrations-pg/0063_claude_review_threads.sql +7 -0
  249. package/dist/db/migrations-pg/0064_claude_review_ci_failures.sql +4 -0
  250. package/dist/db/migrations-pg/0065_ai_fix_change_report.sql +9 -0
  251. package/dist/db/migrations-pg/0066_claude_finding_story.sql +7 -0
  252. package/dist/db/migrations-pg/meta/0000_snapshot.json +2137 -0
  253. package/dist/db/migrations-pg/meta/0001_snapshot.json +2143 -0
  254. package/dist/db/migrations-pg/meta/0002_snapshot.json +2170 -0
  255. package/dist/db/migrations-pg/meta/0003_snapshot.json +2182 -0
  256. package/dist/db/migrations-pg/meta/0004_snapshot.json +2188 -0
  257. package/dist/db/migrations-pg/meta/0005_snapshot.json +2201 -0
  258. package/dist/db/migrations-pg/meta/0006_snapshot.json +2207 -0
  259. package/dist/db/migrations-pg/meta/0007_snapshot.json +2219 -0
  260. package/dist/db/migrations-pg/meta/0008_snapshot.json +2226 -0
  261. package/dist/db/migrations-pg/meta/0009_snapshot.json +2250 -0
  262. package/dist/db/migrations-pg/meta/0010_snapshot.json +2256 -0
  263. package/dist/db/migrations-pg/meta/0011_snapshot.json +2412 -0
  264. package/dist/db/migrations-pg/meta/0012_snapshot.json +2528 -0
  265. package/dist/db/migrations-pg/meta/0013_snapshot.json +2534 -0
  266. package/dist/db/migrations-pg/meta/0014_snapshot.json +2547 -0
  267. package/dist/db/migrations-pg/meta/0015_snapshot.json +2553 -0
  268. package/dist/db/migrations-pg/meta/0016_snapshot.json +2774 -0
  269. package/dist/db/migrations-pg/meta/0017_snapshot.json +2999 -0
  270. package/dist/db/migrations-pg/meta/0018_snapshot.json +3020 -0
  271. package/dist/db/migrations-pg/meta/0020_snapshot.json +3228 -0
  272. package/dist/db/migrations-pg/meta/0021_snapshot.json +3234 -0
  273. package/dist/db/migrations-pg/meta/0022_snapshot.json +3240 -0
  274. package/dist/db/migrations-pg/meta/_journal.json +475 -0
  275. package/dist/db/ml-labels.js +1666 -0
  276. package/dist/db/my-turn-dismissals.js +343 -0
  277. package/dist/db/my-turn-settings.js +34 -0
  278. package/dist/db/pending-classify.js +46 -0
  279. package/dist/db/pending-mute.js +171 -0
  280. package/dist/db/pending-tabs.js +238 -0
  281. package/dist/db/period-metrics.js +820 -0
  282. package/dist/db/person-period.js +763 -0
  283. package/dist/db/pr-intervals.js +930 -0
  284. package/dist/db/pr-liveness.js +240 -0
  285. package/dist/db/pr-mentions.js +279 -0
  286. package/dist/db/pr-merge-queue-stamp.js +91 -0
  287. package/dist/db/queries.js +14631 -0
  288. package/dist/db/reaction-targets.js +94 -0
  289. package/dist/db/repo-activity.js +171 -0
  290. package/dist/db/retention.js +138 -0
  291. package/dist/db/review-threads-for-review.js +240 -0
  292. package/dist/db/run-migrations.js +24 -0
  293. package/dist/db/schema.pg.js +1220 -0
  294. package/dist/db/schema.sqlite.js +1801 -0
  295. package/dist/db/search.js +317 -0
  296. package/dist/db/security-alerts.js +218 -0
  297. package/dist/db/synthesis-input.js +565 -0
  298. package/dist/db/triage.js +320 -0
  299. package/dist/db/usage.js +63 -0
  300. package/dist/db/work-plan.js +1086 -0
  301. package/dist/db/working-hours.js +161 -0
  302. package/dist/feed/my-turn.js +122 -0
  303. package/dist/github/actions-logs.js +397 -0
  304. package/dist/github/auth.js +86 -0
  305. package/dist/github/branch-queries.js +229 -0
  306. package/dist/github/client.js +454 -0
  307. package/dist/github/codeowners.js +221 -0
  308. package/dist/github/commit-checks.js +105 -0
  309. package/dist/github/compare.js +110 -0
  310. package/dist/github/diff-anchor.js +227 -0
  311. package/dist/github/mutations.js +706 -0
  312. package/dist/github/pr-file-content.js +254 -0
  313. package/dist/github/pr-liveness.js +161 -0
  314. package/dist/github/queries.js +875 -0
  315. package/dist/github/rate-budget.js +129 -0
  316. package/dist/github/reactions.js +161 -0
  317. package/dist/github/reviewer-suggest.js +104 -0
  318. package/dist/github/team-reviewers.js +96 -0
  319. package/dist/index.js +184 -0
  320. package/dist/merge/auto-merge-runner.js +960 -0
  321. package/dist/ml/severity-client.js +218 -0
  322. package/dist/pr/detail-enricher.js +26 -0
  323. package/dist/pro/bind.js +302 -0
  324. package/dist/pro/contract.js +37 -0
  325. package/dist/pro/migrate.js +64 -0
  326. package/dist/review/agent-context.js +127 -0
  327. package/dist/review/agent.js +385 -0
  328. package/dist/review/agentic.js +59 -0
  329. package/dist/review/auth.js +94 -0
  330. package/dist/review/chat-agent.js +179 -0
  331. package/dist/review/claude-review/ai-ready.js +16 -0
  332. package/dist/review/claude-review/auto-settings.js +139 -0
  333. package/dist/review/claude-review/auto.js +244 -0
  334. package/dist/review/claude-review/chat.js +489 -0
  335. package/dist/review/claude-review/ci-failures.js +350 -0
  336. package/dist/review/claude-review/follow-up.js +310 -0
  337. package/dist/review/claude-review/manager.js +686 -0
  338. package/dist/review/claude-review/persist.js +996 -0
  339. package/dist/review/claude-review/prompts.js +357 -0
  340. package/dist/review/claude-review/routes.js +518 -0
  341. package/dist/review/claude-review/routing.js +61 -0
  342. package/dist/review/claude-review/specialists.js +190 -0
  343. package/dist/review/claude-review/threads.js +265 -0
  344. package/dist/review/claude-review/ticket.js +282 -0
  345. package/dist/review/clone-hygiene.js +380 -0
  346. package/dist/review/clone-manager.js +367 -0
  347. package/dist/review/llm.js +113 -0
  348. package/dist/review/model-options.js +48 -0
  349. package/dist/review/plugin-providers.js +12 -0
  350. package/dist/review/post-review.js +216 -0
  351. package/dist/review/post-seam.js +161 -0
  352. package/dist/review/prepare.js +168 -0
  353. package/dist/review/pricing.js +17 -0
  354. package/dist/review/schema.js +156 -0
  355. package/dist/review/submit-map.js +41 -0
  356. package/dist/review/usage.js +90 -0
  357. package/dist/shared/claude-review.js +335 -0
  358. package/dist/shared/conflict-fold.js +151 -0
  359. package/dist/shared/conflicts.js +30 -0
  360. package/dist/shared/flow-settings.js +191 -0
  361. package/dist/shared/index.js +8 -0
  362. package/dist/shared/my-turn-settings.js +238 -0
  363. package/dist/shared/pending-rules.js +281 -0
  364. package/dist/shared/product.js +54 -0
  365. package/dist/shared/types.js +896 -0
  366. package/dist/status.js +386 -0
  367. package/dist/sync/adaptive.js +185 -0
  368. package/dist/sync/app-attribution.js +66 -0
  369. package/dist/sync/auth-notices.js +36 -0
  370. package/dist/sync/backfill-ci-history.js +315 -0
  371. package/dist/sync/backfill-commit-headlines.js +136 -0
  372. package/dist/sync/backfill-pr-security.js +175 -0
  373. package/dist/sync/backfill-review-requests.js +97 -0
  374. package/dist/sync/benchmark-rollup.js +50 -0
  375. package/dist/sync/bot-detection.js +309 -0
  376. package/dist/sync/bot-resolution-markers.js +30 -0
  377. package/dist/sync/branch-status.js +634 -0
  378. package/dist/sync/classify-change-shape.js +150 -0
  379. package/dist/sync/commit-files.js +74 -0
  380. package/dist/sync/derive-thread-state.js +99 -0
  381. package/dist/sync/drain-review-threads.js +212 -0
  382. package/dist/sync/hydrate-detail.js +482 -0
  383. package/dist/sync/mention-scan.js +89 -0
  384. package/dist/sync/ml-enrichment.js +478 -0
  385. package/dist/sync/pr-change-signal.js +96 -0
  386. package/dist/sync/pr-liveness-sweep.js +139 -0
  387. package/dist/sync/pr-settle.js +381 -0
  388. package/dist/sync/refresh-pr.js +163 -0
  389. package/dist/sync/reparse-vendor-badges.js +495 -0
  390. package/dist/sync/resync-after-write.js +280 -0
  391. package/dist/sync/review-fingerprint.js +117 -0
  392. package/dist/sync/reviewer-behavior.js +103 -0
  393. package/dist/sync/reviewer-classify.js +503 -0
  394. package/dist/sync/routing-files.js +97 -0
  395. package/dist/sync/scheduled-jobs.js +12 -0
  396. package/dist/sync/scheduler.js +159 -0
  397. package/dist/sync/security-detect.js +521 -0
  398. package/dist/sync/sync-manager.js +750 -0
  399. package/dist/sync/sync-one-pr.js +205 -0
  400. package/dist/sync/sync-repo.js +400 -0
  401. package/dist/sync/unsettled-prs.js +506 -0
  402. package/dist/sync/upsert.js +1190 -0
  403. package/package.json +56 -0
  404. package/public/apple-touch-icon.png +0 -0
  405. package/public/assets/AiFixTab-CQP6PT5u.js +2 -0
  406. package/public/assets/ClaudeReviewTab-DQJ-58ZA.js +8 -0
  407. package/public/assets/PrBotBehaviourTab-CCnFrWbC.js +1 -0
  408. package/public/assets/archivo-latin-600-BN-JkNrl.woff2 +0 -0
  409. package/public/assets/highlight-BEHUn5zE.css +10 -0
  410. package/public/assets/highlight-CIIZLa6Z.js +12 -0
  411. package/public/assets/index-BDnYs6zg.js +73 -0
  412. package/public/assets/index-mCuI--RC.css +1 -0
  413. package/public/assets/markdown-I_JLLVAZ.js +32 -0
  414. package/public/assets/perfProbe-Da13EhTE.js +1 -0
  415. package/public/assets/tanstack-5qsxxaLe.js +17 -0
  416. package/public/assets/vis-C3BCkP5U.js +1280 -0
  417. package/public/assets/vis-ziCVehMy.css +1 -0
  418. package/public/favicon-16.png +0 -0
  419. package/public/favicon-32.png +0 -0
  420. package/public/favicon-48.png +0 -0
  421. package/public/favicon.svg +5 -0
  422. package/public/index.html +41 -0
  423. package/public-landing/apple-touch-icon.png +0 -0
  424. package/public-landing/assets/archivo-latin-500-BWmvx2Mg.woff2 +0 -0
  425. package/public-landing/assets/archivo-latin-600-BN-JkNrl.woff2 +0 -0
  426. package/public-landing/assets/index-CA3eEGXO.js +40 -0
  427. package/public-landing/assets/index-naQrQ6Fe.css +1 -0
  428. package/public-landing/assets/jetbrains-mono-latin-400-RruCX7RW.woff2 +0 -0
  429. package/public-landing/assets/newsreader-latin-400-DExrRRrN.woff2 +0 -0
  430. package/public-landing/assets/newsreader-latin-400-italic-b0I-AwbV.woff2 +0 -0
  431. package/public-landing/bots/index.html +156 -0
  432. package/public-landing/contact/index.html +156 -0
  433. package/public-landing/cookies/index.html +156 -0
  434. package/public-landing/demo/limn-walkthrough-poster.jpg +0 -0
  435. package/public-landing/demo/limn-walkthrough.cues.json +44 -0
  436. package/public-landing/demo/limn-walkthrough.mp4 +0 -0
  437. package/public-landing/favicon-16.png +0 -0
  438. package/public-landing/favicon-32.png +0 -0
  439. package/public-landing/favicon-48.png +0 -0
  440. package/public-landing/favicon.svg +5 -0
  441. package/public-landing/features/index.html +156 -0
  442. package/public-landing/for-developers/index.html +156 -0
  443. package/public-landing/for-managers/index.html +156 -0
  444. package/public-landing/how-it-works/index.html +156 -0
  445. package/public-landing/how-we-measure/index.html +156 -0
  446. package/public-landing/icon-192.png +0 -0
  447. package/public-landing/icon-512.png +0 -0
  448. package/public-landing/index.html +156 -0
  449. package/public-landing/insights/index.html +156 -0
  450. package/public-landing/og-image.png +0 -0
  451. package/public-landing/pricing/index.html +156 -0
  452. package/public-landing/privacy/index.html +156 -0
  453. package/public-landing/pro/index.html +156 -0
  454. package/public-landing/reviews/index.html +156 -0
  455. package/public-landing/robots.txt +8 -0
  456. package/public-landing/shots/benchmark.png +0 -0
  457. package/public-landing/shots/bot-roi.png +0 -0
  458. package/public-landing/shots/bot-settings.png +0 -0
  459. package/public-landing/shots/chronology.png +0 -0
  460. package/public-landing/shots/feed.png +0 -0
  461. package/public-landing/shots/flow-metrics.png +0 -0
  462. package/public-landing/shots/free-reports.png +0 -0
  463. package/public-landing/shots/pending-board.png +0 -0
  464. package/public-landing/shots/pending-card.png +0 -0
  465. package/public-landing/shots/period-report.png +0 -0
  466. package/public-landing/shots/pr-detail.png +0 -0
  467. package/public-landing/shots/pr-threads.png +0 -0
  468. package/public-landing/shots/reach.png +0 -0
  469. package/public-landing/shots/repo-rows.png +0 -0
  470. package/public-landing/shots/severity-findings.png +0 -0
  471. package/public-landing/shots/severity-strip.png +0 -0
  472. package/public-landing/site.webmanifest +14 -0
  473. package/public-landing/sitemap.xml +51 -0
  474. package/public-landing/terms/index.html +156 -0
@@ -0,0 +1,3020 @@
1
+ {
2
+ "id": "74920766-1f7c-4064-bfdc-5a4ac3b9ed73",
3
+ "prevId": "8b7b0c18-bcb8-427c-9e78-16221b2aafa2",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.accounts": {
8
+ "name": "accounts",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "serial",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "github_user_id": {
18
+ "name": "github_user_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "github_login": {
24
+ "name": "github_login",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "display_name": {
30
+ "name": "display_name",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": false
34
+ },
35
+ "avatar_url": {
36
+ "name": "avatar_url",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "access_token_enc": {
42
+ "name": "access_token_enc",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": false
46
+ },
47
+ "is_local": {
48
+ "name": "is_local",
49
+ "type": "boolean",
50
+ "primaryKey": false,
51
+ "notNull": true,
52
+ "default": false
53
+ },
54
+ "created_at": {
55
+ "name": "created_at",
56
+ "type": "timestamp with time zone",
57
+ "primaryKey": false,
58
+ "notNull": true,
59
+ "default": "now()"
60
+ },
61
+ "last_login_at": {
62
+ "name": "last_login_at",
63
+ "type": "timestamp with time zone",
64
+ "primaryKey": false,
65
+ "notNull": false
66
+ },
67
+ "last_active_at": {
68
+ "name": "last_active_at",
69
+ "type": "timestamp with time zone",
70
+ "primaryKey": false,
71
+ "notNull": false
72
+ },
73
+ "feed_last_seen_at": {
74
+ "name": "feed_last_seen_at",
75
+ "type": "timestamp with time zone",
76
+ "primaryKey": false,
77
+ "notNull": false
78
+ },
79
+ "plan": {
80
+ "name": "plan",
81
+ "type": "text",
82
+ "primaryKey": false,
83
+ "notNull": true,
84
+ "default": "'free'"
85
+ },
86
+ "stripe_customer_id": {
87
+ "name": "stripe_customer_id",
88
+ "type": "text",
89
+ "primaryKey": false,
90
+ "notNull": false
91
+ },
92
+ "ai_credit_allowance": {
93
+ "name": "ai_credit_allowance",
94
+ "type": "integer",
95
+ "primaryKey": false,
96
+ "notNull": false
97
+ }
98
+ },
99
+ "indexes": {},
100
+ "foreignKeys": {},
101
+ "compositePrimaryKeys": {},
102
+ "uniqueConstraints": {
103
+ "accounts_github_user_id_unique": {
104
+ "name": "accounts_github_user_id_unique",
105
+ "nullsNotDistinct": false,
106
+ "columns": [
107
+ "github_user_id"
108
+ ]
109
+ }
110
+ },
111
+ "policies": {},
112
+ "checkConstraints": {},
113
+ "isRLSEnabled": false
114
+ },
115
+ "public.ai_usage": {
116
+ "name": "ai_usage",
117
+ "schema": "",
118
+ "columns": {
119
+ "id": {
120
+ "name": "id",
121
+ "type": "serial",
122
+ "primaryKey": true,
123
+ "notNull": true
124
+ },
125
+ "account_id": {
126
+ "name": "account_id",
127
+ "type": "integer",
128
+ "primaryKey": false,
129
+ "notNull": true
130
+ },
131
+ "seam": {
132
+ "name": "seam",
133
+ "type": "text",
134
+ "primaryKey": false,
135
+ "notNull": true
136
+ },
137
+ "feature": {
138
+ "name": "feature",
139
+ "type": "text",
140
+ "primaryKey": false,
141
+ "notNull": true
142
+ },
143
+ "model": {
144
+ "name": "model",
145
+ "type": "text",
146
+ "primaryKey": false,
147
+ "notNull": true
148
+ },
149
+ "cost_usd": {
150
+ "name": "cost_usd",
151
+ "type": "double precision",
152
+ "primaryKey": false,
153
+ "notNull": true
154
+ },
155
+ "input_tokens": {
156
+ "name": "input_tokens",
157
+ "type": "integer",
158
+ "primaryKey": false,
159
+ "notNull": false
160
+ },
161
+ "output_tokens": {
162
+ "name": "output_tokens",
163
+ "type": "integer",
164
+ "primaryKey": false,
165
+ "notNull": false
166
+ },
167
+ "pr_id": {
168
+ "name": "pr_id",
169
+ "type": "integer",
170
+ "primaryKey": false,
171
+ "notNull": false
172
+ },
173
+ "repo_id": {
174
+ "name": "repo_id",
175
+ "type": "integer",
176
+ "primaryKey": false,
177
+ "notNull": false
178
+ },
179
+ "occurred_at": {
180
+ "name": "occurred_at",
181
+ "type": "timestamp with time zone",
182
+ "primaryKey": false,
183
+ "notNull": true,
184
+ "default": "now()"
185
+ }
186
+ },
187
+ "indexes": {
188
+ "au_account_occurred": {
189
+ "name": "au_account_occurred",
190
+ "columns": [
191
+ {
192
+ "expression": "account_id",
193
+ "isExpression": false,
194
+ "asc": true,
195
+ "nulls": "last"
196
+ },
197
+ {
198
+ "expression": "occurred_at",
199
+ "isExpression": false,
200
+ "asc": true,
201
+ "nulls": "last"
202
+ }
203
+ ],
204
+ "isUnique": false,
205
+ "concurrently": false,
206
+ "method": "btree",
207
+ "with": {}
208
+ }
209
+ },
210
+ "foreignKeys": {
211
+ "ai_usage_account_id_accounts_id_fk": {
212
+ "name": "ai_usage_account_id_accounts_id_fk",
213
+ "tableFrom": "ai_usage",
214
+ "tableTo": "accounts",
215
+ "columnsFrom": [
216
+ "account_id"
217
+ ],
218
+ "columnsTo": [
219
+ "id"
220
+ ],
221
+ "onDelete": "no action",
222
+ "onUpdate": "no action"
223
+ }
224
+ },
225
+ "compositePrimaryKeys": {},
226
+ "uniqueConstraints": {},
227
+ "policies": {},
228
+ "checkConstraints": {},
229
+ "isRLSEnabled": false
230
+ },
231
+ "public.bot_mute_rules": {
232
+ "name": "bot_mute_rules",
233
+ "schema": "",
234
+ "columns": {
235
+ "id": {
236
+ "name": "id",
237
+ "type": "serial",
238
+ "primaryKey": true,
239
+ "notNull": true
240
+ },
241
+ "account_id": {
242
+ "name": "account_id",
243
+ "type": "integer",
244
+ "primaryKey": false,
245
+ "notNull": true
246
+ },
247
+ "vendor_kind": {
248
+ "name": "vendor_kind",
249
+ "type": "text",
250
+ "primaryKey": false,
251
+ "notNull": false
252
+ },
253
+ "path_glob": {
254
+ "name": "path_glob",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": false
258
+ },
259
+ "severity": {
260
+ "name": "severity",
261
+ "type": "text",
262
+ "primaryKey": false,
263
+ "notNull": false
264
+ },
265
+ "action": {
266
+ "name": "action",
267
+ "type": "text",
268
+ "primaryKey": false,
269
+ "notNull": true
270
+ },
271
+ "auto_resolve_days": {
272
+ "name": "auto_resolve_days",
273
+ "type": "integer",
274
+ "primaryKey": false,
275
+ "notNull": false
276
+ },
277
+ "created_at": {
278
+ "name": "created_at",
279
+ "type": "timestamp with time zone",
280
+ "primaryKey": false,
281
+ "notNull": true,
282
+ "default": "now()"
283
+ }
284
+ },
285
+ "indexes": {
286
+ "bmr_account_idx": {
287
+ "name": "bmr_account_idx",
288
+ "columns": [
289
+ {
290
+ "expression": "account_id",
291
+ "isExpression": false,
292
+ "asc": true,
293
+ "nulls": "last"
294
+ }
295
+ ],
296
+ "isUnique": false,
297
+ "concurrently": false,
298
+ "method": "btree",
299
+ "with": {}
300
+ }
301
+ },
302
+ "foreignKeys": {
303
+ "bot_mute_rules_account_id_accounts_id_fk": {
304
+ "name": "bot_mute_rules_account_id_accounts_id_fk",
305
+ "tableFrom": "bot_mute_rules",
306
+ "tableTo": "accounts",
307
+ "columnsFrom": [
308
+ "account_id"
309
+ ],
310
+ "columnsTo": [
311
+ "id"
312
+ ],
313
+ "onDelete": "no action",
314
+ "onUpdate": "no action"
315
+ }
316
+ },
317
+ "compositePrimaryKeys": {},
318
+ "uniqueConstraints": {},
319
+ "policies": {},
320
+ "checkConstraints": {},
321
+ "isRLSEnabled": false
322
+ },
323
+ "public.bot_review_classification": {
324
+ "name": "bot_review_classification",
325
+ "schema": "",
326
+ "columns": {
327
+ "id": {
328
+ "name": "id",
329
+ "type": "serial",
330
+ "primaryKey": true,
331
+ "notNull": true
332
+ },
333
+ "account_id": {
334
+ "name": "account_id",
335
+ "type": "integer",
336
+ "primaryKey": false,
337
+ "notNull": true
338
+ },
339
+ "author_user_id": {
340
+ "name": "author_user_id",
341
+ "type": "integer",
342
+ "primaryKey": false,
343
+ "notNull": true
344
+ },
345
+ "automated": {
346
+ "name": "automated",
347
+ "type": "boolean",
348
+ "primaryKey": false,
349
+ "notNull": true
350
+ },
351
+ "kind": {
352
+ "name": "kind",
353
+ "type": "text",
354
+ "primaryKey": false,
355
+ "notNull": false
356
+ },
357
+ "label": {
358
+ "name": "label",
359
+ "type": "text",
360
+ "primaryKey": false,
361
+ "notNull": false
362
+ },
363
+ "confidence": {
364
+ "name": "confidence",
365
+ "type": "text",
366
+ "primaryKey": false,
367
+ "notNull": true
368
+ },
369
+ "source": {
370
+ "name": "source",
371
+ "type": "text",
372
+ "primaryKey": false,
373
+ "notNull": true
374
+ },
375
+ "reasons_json": {
376
+ "name": "reasons_json",
377
+ "type": "jsonb",
378
+ "primaryKey": false,
379
+ "notNull": false
380
+ },
381
+ "updated_at": {
382
+ "name": "updated_at",
383
+ "type": "timestamp with time zone",
384
+ "primaryKey": false,
385
+ "notNull": true,
386
+ "default": "now()"
387
+ }
388
+ },
389
+ "indexes": {
390
+ "brc_account_author": {
391
+ "name": "brc_account_author",
392
+ "columns": [
393
+ {
394
+ "expression": "account_id",
395
+ "isExpression": false,
396
+ "asc": true,
397
+ "nulls": "last"
398
+ },
399
+ {
400
+ "expression": "author_user_id",
401
+ "isExpression": false,
402
+ "asc": true,
403
+ "nulls": "last"
404
+ }
405
+ ],
406
+ "isUnique": true,
407
+ "concurrently": false,
408
+ "method": "btree",
409
+ "with": {}
410
+ }
411
+ },
412
+ "foreignKeys": {
413
+ "bot_review_classification_account_id_accounts_id_fk": {
414
+ "name": "bot_review_classification_account_id_accounts_id_fk",
415
+ "tableFrom": "bot_review_classification",
416
+ "tableTo": "accounts",
417
+ "columnsFrom": [
418
+ "account_id"
419
+ ],
420
+ "columnsTo": [
421
+ "id"
422
+ ],
423
+ "onDelete": "no action",
424
+ "onUpdate": "no action"
425
+ },
426
+ "bot_review_classification_author_user_id_users_id_fk": {
427
+ "name": "bot_review_classification_author_user_id_users_id_fk",
428
+ "tableFrom": "bot_review_classification",
429
+ "tableTo": "users",
430
+ "columnsFrom": [
431
+ "author_user_id"
432
+ ],
433
+ "columnsTo": [
434
+ "id"
435
+ ],
436
+ "onDelete": "no action",
437
+ "onUpdate": "no action"
438
+ }
439
+ },
440
+ "compositePrimaryKeys": {},
441
+ "uniqueConstraints": {},
442
+ "policies": {},
443
+ "checkConstraints": {},
444
+ "isRLSEnabled": false
445
+ },
446
+ "public.ci_status_events": {
447
+ "name": "ci_status_events",
448
+ "schema": "",
449
+ "columns": {
450
+ "id": {
451
+ "name": "id",
452
+ "type": "serial",
453
+ "primaryKey": true,
454
+ "notNull": true
455
+ },
456
+ "account_id": {
457
+ "name": "account_id",
458
+ "type": "integer",
459
+ "primaryKey": false,
460
+ "notNull": true
461
+ },
462
+ "repo_id": {
463
+ "name": "repo_id",
464
+ "type": "integer",
465
+ "primaryKey": false,
466
+ "notNull": true
467
+ },
468
+ "pr_id": {
469
+ "name": "pr_id",
470
+ "type": "integer",
471
+ "primaryKey": false,
472
+ "notNull": true
473
+ },
474
+ "head_sha": {
475
+ "name": "head_sha",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": true
479
+ },
480
+ "status": {
481
+ "name": "status",
482
+ "type": "text",
483
+ "primaryKey": false,
484
+ "notNull": true
485
+ },
486
+ "failing_checks": {
487
+ "name": "failing_checks",
488
+ "type": "jsonb",
489
+ "primaryKey": false,
490
+ "notNull": false
491
+ },
492
+ "observed_at": {
493
+ "name": "observed_at",
494
+ "type": "timestamp with time zone",
495
+ "primaryKey": false,
496
+ "notNull": true
497
+ }
498
+ },
499
+ "indexes": {
500
+ "cse_account_pr_observed": {
501
+ "name": "cse_account_pr_observed",
502
+ "columns": [
503
+ {
504
+ "expression": "account_id",
505
+ "isExpression": false,
506
+ "asc": true,
507
+ "nulls": "last"
508
+ },
509
+ {
510
+ "expression": "pr_id",
511
+ "isExpression": false,
512
+ "asc": true,
513
+ "nulls": "last"
514
+ },
515
+ {
516
+ "expression": "observed_at",
517
+ "isExpression": false,
518
+ "asc": true,
519
+ "nulls": "last"
520
+ }
521
+ ],
522
+ "isUnique": false,
523
+ "concurrently": false,
524
+ "method": "btree",
525
+ "with": {}
526
+ },
527
+ "cse_account_repo_observed": {
528
+ "name": "cse_account_repo_observed",
529
+ "columns": [
530
+ {
531
+ "expression": "account_id",
532
+ "isExpression": false,
533
+ "asc": true,
534
+ "nulls": "last"
535
+ },
536
+ {
537
+ "expression": "repo_id",
538
+ "isExpression": false,
539
+ "asc": true,
540
+ "nulls": "last"
541
+ },
542
+ {
543
+ "expression": "observed_at",
544
+ "isExpression": false,
545
+ "asc": true,
546
+ "nulls": "last"
547
+ }
548
+ ],
549
+ "isUnique": false,
550
+ "concurrently": false,
551
+ "method": "btree",
552
+ "with": {}
553
+ }
554
+ },
555
+ "foreignKeys": {
556
+ "ci_status_events_account_id_accounts_id_fk": {
557
+ "name": "ci_status_events_account_id_accounts_id_fk",
558
+ "tableFrom": "ci_status_events",
559
+ "tableTo": "accounts",
560
+ "columnsFrom": [
561
+ "account_id"
562
+ ],
563
+ "columnsTo": [
564
+ "id"
565
+ ],
566
+ "onDelete": "no action",
567
+ "onUpdate": "no action"
568
+ },
569
+ "ci_status_events_repo_id_repos_id_fk": {
570
+ "name": "ci_status_events_repo_id_repos_id_fk",
571
+ "tableFrom": "ci_status_events",
572
+ "tableTo": "repos",
573
+ "columnsFrom": [
574
+ "repo_id"
575
+ ],
576
+ "columnsTo": [
577
+ "id"
578
+ ],
579
+ "onDelete": "no action",
580
+ "onUpdate": "no action"
581
+ },
582
+ "ci_status_events_pr_id_pull_requests_id_fk": {
583
+ "name": "ci_status_events_pr_id_pull_requests_id_fk",
584
+ "tableFrom": "ci_status_events",
585
+ "tableTo": "pull_requests",
586
+ "columnsFrom": [
587
+ "pr_id"
588
+ ],
589
+ "columnsTo": [
590
+ "id"
591
+ ],
592
+ "onDelete": "no action",
593
+ "onUpdate": "no action"
594
+ }
595
+ },
596
+ "compositePrimaryKeys": {},
597
+ "uniqueConstraints": {},
598
+ "policies": {},
599
+ "checkConstraints": {},
600
+ "isRLSEnabled": false
601
+ },
602
+ "public.claude_review_findings": {
603
+ "name": "claude_review_findings",
604
+ "schema": "",
605
+ "columns": {
606
+ "id": {
607
+ "name": "id",
608
+ "type": "serial",
609
+ "primaryKey": true,
610
+ "notNull": true
611
+ },
612
+ "review_id": {
613
+ "name": "review_id",
614
+ "type": "integer",
615
+ "primaryKey": false,
616
+ "notNull": true
617
+ },
618
+ "path": {
619
+ "name": "path",
620
+ "type": "text",
621
+ "primaryKey": false,
622
+ "notNull": true
623
+ },
624
+ "line": {
625
+ "name": "line",
626
+ "type": "integer",
627
+ "primaryKey": false,
628
+ "notNull": false
629
+ },
630
+ "side": {
631
+ "name": "side",
632
+ "type": "text",
633
+ "primaryKey": false,
634
+ "notNull": true,
635
+ "default": "'RIGHT'"
636
+ },
637
+ "severity": {
638
+ "name": "severity",
639
+ "type": "text",
640
+ "primaryKey": false,
641
+ "notNull": true
642
+ },
643
+ "title": {
644
+ "name": "title",
645
+ "type": "text",
646
+ "primaryKey": false,
647
+ "notNull": true
648
+ },
649
+ "body": {
650
+ "name": "body",
651
+ "type": "text",
652
+ "primaryKey": false,
653
+ "notNull": true
654
+ },
655
+ "edited_body": {
656
+ "name": "edited_body",
657
+ "type": "text",
658
+ "primaryKey": false,
659
+ "notNull": false
660
+ },
661
+ "suggestion": {
662
+ "name": "suggestion",
663
+ "type": "text",
664
+ "primaryKey": false,
665
+ "notNull": false
666
+ },
667
+ "diff_hunk": {
668
+ "name": "diff_hunk",
669
+ "type": "text",
670
+ "primaryKey": false,
671
+ "notNull": false
672
+ },
673
+ "anchored": {
674
+ "name": "anchored",
675
+ "type": "boolean",
676
+ "primaryKey": false,
677
+ "notNull": true,
678
+ "default": true
679
+ },
680
+ "file_in_diff": {
681
+ "name": "file_in_diff",
682
+ "type": "boolean",
683
+ "primaryKey": false,
684
+ "notNull": true,
685
+ "default": true
686
+ },
687
+ "included": {
688
+ "name": "included",
689
+ "type": "boolean",
690
+ "primaryKey": false,
691
+ "notNull": true,
692
+ "default": false
693
+ },
694
+ "posted_at": {
695
+ "name": "posted_at",
696
+ "type": "timestamp with time zone",
697
+ "primaryKey": false,
698
+ "notNull": false
699
+ },
700
+ "github_comment_id": {
701
+ "name": "github_comment_id",
702
+ "type": "text",
703
+ "primaryKey": false,
704
+ "notNull": false
705
+ },
706
+ "posted_comment_kind": {
707
+ "name": "posted_comment_kind",
708
+ "type": "text",
709
+ "primaryKey": false,
710
+ "notNull": false
711
+ },
712
+ "created_at": {
713
+ "name": "created_at",
714
+ "type": "timestamp with time zone",
715
+ "primaryKey": false,
716
+ "notNull": true,
717
+ "default": "now()"
718
+ }
719
+ },
720
+ "indexes": {
721
+ "crf_review_idx": {
722
+ "name": "crf_review_idx",
723
+ "columns": [
724
+ {
725
+ "expression": "review_id",
726
+ "isExpression": false,
727
+ "asc": true,
728
+ "nulls": "last"
729
+ }
730
+ ],
731
+ "isUnique": false,
732
+ "concurrently": false,
733
+ "method": "btree",
734
+ "with": {}
735
+ }
736
+ },
737
+ "foreignKeys": {
738
+ "claude_review_findings_review_id_claude_reviews_id_fk": {
739
+ "name": "claude_review_findings_review_id_claude_reviews_id_fk",
740
+ "tableFrom": "claude_review_findings",
741
+ "tableTo": "claude_reviews",
742
+ "columnsFrom": [
743
+ "review_id"
744
+ ],
745
+ "columnsTo": [
746
+ "id"
747
+ ],
748
+ "onDelete": "no action",
749
+ "onUpdate": "no action"
750
+ }
751
+ },
752
+ "compositePrimaryKeys": {},
753
+ "uniqueConstraints": {},
754
+ "policies": {},
755
+ "checkConstraints": {},
756
+ "isRLSEnabled": false
757
+ },
758
+ "public.claude_reviews": {
759
+ "name": "claude_reviews",
760
+ "schema": "",
761
+ "columns": {
762
+ "id": {
763
+ "name": "id",
764
+ "type": "serial",
765
+ "primaryKey": true,
766
+ "notNull": true
767
+ },
768
+ "account_id": {
769
+ "name": "account_id",
770
+ "type": "integer",
771
+ "primaryKey": false,
772
+ "notNull": true
773
+ },
774
+ "pr_id": {
775
+ "name": "pr_id",
776
+ "type": "integer",
777
+ "primaryKey": false,
778
+ "notNull": true
779
+ },
780
+ "head_sha": {
781
+ "name": "head_sha",
782
+ "type": "text",
783
+ "primaryKey": false,
784
+ "notNull": true
785
+ },
786
+ "status": {
787
+ "name": "status",
788
+ "type": "text",
789
+ "primaryKey": false,
790
+ "notNull": true
791
+ },
792
+ "model": {
793
+ "name": "model",
794
+ "type": "text",
795
+ "primaryKey": false,
796
+ "notNull": true
797
+ },
798
+ "scope": {
799
+ "name": "scope",
800
+ "type": "text",
801
+ "primaryKey": false,
802
+ "notNull": false
803
+ },
804
+ "review_mode": {
805
+ "name": "review_mode",
806
+ "type": "text",
807
+ "primaryKey": false,
808
+ "notNull": false
809
+ },
810
+ "route_reason": {
811
+ "name": "route_reason",
812
+ "type": "jsonb",
813
+ "primaryKey": false,
814
+ "notNull": false
815
+ },
816
+ "summary": {
817
+ "name": "summary",
818
+ "type": "text",
819
+ "primaryKey": false,
820
+ "notNull": false
821
+ },
822
+ "verdict": {
823
+ "name": "verdict",
824
+ "type": "text",
825
+ "primaryKey": false,
826
+ "notNull": false
827
+ },
828
+ "user_body": {
829
+ "name": "user_body",
830
+ "type": "text",
831
+ "primaryKey": false,
832
+ "notNull": false
833
+ },
834
+ "user_verdict": {
835
+ "name": "user_verdict",
836
+ "type": "text",
837
+ "primaryKey": false,
838
+ "notNull": false
839
+ },
840
+ "cost_usd": {
841
+ "name": "cost_usd",
842
+ "type": "double precision",
843
+ "primaryKey": false,
844
+ "notNull": false
845
+ },
846
+ "input_tokens": {
847
+ "name": "input_tokens",
848
+ "type": "integer",
849
+ "primaryKey": false,
850
+ "notNull": false
851
+ },
852
+ "output_tokens": {
853
+ "name": "output_tokens",
854
+ "type": "integer",
855
+ "primaryKey": false,
856
+ "notNull": false
857
+ },
858
+ "cache_read_tokens": {
859
+ "name": "cache_read_tokens",
860
+ "type": "integer",
861
+ "primaryKey": false,
862
+ "notNull": false
863
+ },
864
+ "cache_creation_tokens": {
865
+ "name": "cache_creation_tokens",
866
+ "type": "integer",
867
+ "primaryKey": false,
868
+ "notNull": false
869
+ },
870
+ "num_turns": {
871
+ "name": "num_turns",
872
+ "type": "integer",
873
+ "primaryKey": false,
874
+ "notNull": false
875
+ },
876
+ "diff_bytes": {
877
+ "name": "diff_bytes",
878
+ "type": "integer",
879
+ "primaryKey": false,
880
+ "notNull": false
881
+ },
882
+ "diff_capped": {
883
+ "name": "diff_capped",
884
+ "type": "boolean",
885
+ "primaryKey": false,
886
+ "notNull": false
887
+ },
888
+ "error": {
889
+ "name": "error",
890
+ "type": "text",
891
+ "primaryKey": false,
892
+ "notNull": false
893
+ },
894
+ "excluded_files": {
895
+ "name": "excluded_files",
896
+ "type": "jsonb",
897
+ "primaryKey": false,
898
+ "notNull": false
899
+ },
900
+ "posted_review_id": {
901
+ "name": "posted_review_id",
902
+ "type": "text",
903
+ "primaryKey": false,
904
+ "notNull": false
905
+ },
906
+ "posted_at": {
907
+ "name": "posted_at",
908
+ "type": "timestamp with time zone",
909
+ "primaryKey": false,
910
+ "notNull": false
911
+ },
912
+ "created_at": {
913
+ "name": "created_at",
914
+ "type": "timestamp with time zone",
915
+ "primaryKey": false,
916
+ "notNull": true,
917
+ "default": "now()"
918
+ },
919
+ "finished_at": {
920
+ "name": "finished_at",
921
+ "type": "timestamp with time zone",
922
+ "primaryKey": false,
923
+ "notNull": false
924
+ }
925
+ },
926
+ "indexes": {
927
+ "cr_pr_idx": {
928
+ "name": "cr_pr_idx",
929
+ "columns": [
930
+ {
931
+ "expression": "pr_id",
932
+ "isExpression": false,
933
+ "asc": true,
934
+ "nulls": "last"
935
+ }
936
+ ],
937
+ "isUnique": false,
938
+ "concurrently": false,
939
+ "method": "btree",
940
+ "with": {}
941
+ },
942
+ "cr_pr_sha_idx": {
943
+ "name": "cr_pr_sha_idx",
944
+ "columns": [
945
+ {
946
+ "expression": "pr_id",
947
+ "isExpression": false,
948
+ "asc": true,
949
+ "nulls": "last"
950
+ },
951
+ {
952
+ "expression": "head_sha",
953
+ "isExpression": false,
954
+ "asc": true,
955
+ "nulls": "last"
956
+ }
957
+ ],
958
+ "isUnique": false,
959
+ "concurrently": false,
960
+ "method": "btree",
961
+ "with": {}
962
+ },
963
+ "cr_account_idx": {
964
+ "name": "cr_account_idx",
965
+ "columns": [
966
+ {
967
+ "expression": "account_id",
968
+ "isExpression": false,
969
+ "asc": true,
970
+ "nulls": "last"
971
+ }
972
+ ],
973
+ "isUnique": false,
974
+ "concurrently": false,
975
+ "method": "btree",
976
+ "with": {}
977
+ }
978
+ },
979
+ "foreignKeys": {
980
+ "claude_reviews_account_id_accounts_id_fk": {
981
+ "name": "claude_reviews_account_id_accounts_id_fk",
982
+ "tableFrom": "claude_reviews",
983
+ "tableTo": "accounts",
984
+ "columnsFrom": [
985
+ "account_id"
986
+ ],
987
+ "columnsTo": [
988
+ "id"
989
+ ],
990
+ "onDelete": "no action",
991
+ "onUpdate": "no action"
992
+ },
993
+ "claude_reviews_pr_id_pull_requests_id_fk": {
994
+ "name": "claude_reviews_pr_id_pull_requests_id_fk",
995
+ "tableFrom": "claude_reviews",
996
+ "tableTo": "pull_requests",
997
+ "columnsFrom": [
998
+ "pr_id"
999
+ ],
1000
+ "columnsTo": [
1001
+ "id"
1002
+ ],
1003
+ "onDelete": "no action",
1004
+ "onUpdate": "no action"
1005
+ }
1006
+ },
1007
+ "compositePrimaryKeys": {},
1008
+ "uniqueConstraints": {},
1009
+ "policies": {},
1010
+ "checkConstraints": {},
1011
+ "isRLSEnabled": false
1012
+ },
1013
+ "public.commit_files": {
1014
+ "name": "commit_files",
1015
+ "schema": "",
1016
+ "columns": {
1017
+ "sha": {
1018
+ "name": "sha",
1019
+ "type": "text",
1020
+ "primaryKey": true,
1021
+ "notNull": true
1022
+ },
1023
+ "paths": {
1024
+ "name": "paths",
1025
+ "type": "jsonb",
1026
+ "primaryKey": false,
1027
+ "notNull": true
1028
+ },
1029
+ "fetched_at": {
1030
+ "name": "fetched_at",
1031
+ "type": "timestamp with time zone",
1032
+ "primaryKey": false,
1033
+ "notNull": true,
1034
+ "default": "now()"
1035
+ }
1036
+ },
1037
+ "indexes": {},
1038
+ "foreignKeys": {},
1039
+ "compositePrimaryKeys": {},
1040
+ "uniqueConstraints": {},
1041
+ "policies": {},
1042
+ "checkConstraints": {},
1043
+ "isRLSEnabled": false
1044
+ },
1045
+ "public.commits": {
1046
+ "name": "commits",
1047
+ "schema": "",
1048
+ "columns": {
1049
+ "id": {
1050
+ "name": "id",
1051
+ "type": "serial",
1052
+ "primaryKey": true,
1053
+ "notNull": true
1054
+ },
1055
+ "sha": {
1056
+ "name": "sha",
1057
+ "type": "text",
1058
+ "primaryKey": false,
1059
+ "notNull": true
1060
+ },
1061
+ "pr_id": {
1062
+ "name": "pr_id",
1063
+ "type": "integer",
1064
+ "primaryKey": false,
1065
+ "notNull": true
1066
+ },
1067
+ "author_id": {
1068
+ "name": "author_id",
1069
+ "type": "integer",
1070
+ "primaryKey": false,
1071
+ "notNull": false
1072
+ },
1073
+ "committer_id": {
1074
+ "name": "committer_id",
1075
+ "type": "integer",
1076
+ "primaryKey": false,
1077
+ "notNull": false
1078
+ },
1079
+ "message": {
1080
+ "name": "message",
1081
+ "type": "text",
1082
+ "primaryKey": false,
1083
+ "notNull": false
1084
+ },
1085
+ "committed_at": {
1086
+ "name": "committed_at",
1087
+ "type": "timestamp with time zone",
1088
+ "primaryKey": false,
1089
+ "notNull": true
1090
+ }
1091
+ },
1092
+ "indexes": {
1093
+ "commit_pr_idx": {
1094
+ "name": "commit_pr_idx",
1095
+ "columns": [
1096
+ {
1097
+ "expression": "pr_id",
1098
+ "isExpression": false,
1099
+ "asc": true,
1100
+ "nulls": "last"
1101
+ }
1102
+ ],
1103
+ "isUnique": false,
1104
+ "concurrently": false,
1105
+ "method": "btree",
1106
+ "with": {}
1107
+ },
1108
+ "commit_sha_pr_ux": {
1109
+ "name": "commit_sha_pr_ux",
1110
+ "columns": [
1111
+ {
1112
+ "expression": "sha",
1113
+ "isExpression": false,
1114
+ "asc": true,
1115
+ "nulls": "last"
1116
+ },
1117
+ {
1118
+ "expression": "pr_id",
1119
+ "isExpression": false,
1120
+ "asc": true,
1121
+ "nulls": "last"
1122
+ }
1123
+ ],
1124
+ "isUnique": true,
1125
+ "concurrently": false,
1126
+ "method": "btree",
1127
+ "with": {}
1128
+ }
1129
+ },
1130
+ "foreignKeys": {
1131
+ "commits_pr_id_pull_requests_id_fk": {
1132
+ "name": "commits_pr_id_pull_requests_id_fk",
1133
+ "tableFrom": "commits",
1134
+ "tableTo": "pull_requests",
1135
+ "columnsFrom": [
1136
+ "pr_id"
1137
+ ],
1138
+ "columnsTo": [
1139
+ "id"
1140
+ ],
1141
+ "onDelete": "no action",
1142
+ "onUpdate": "no action"
1143
+ },
1144
+ "commits_author_id_users_id_fk": {
1145
+ "name": "commits_author_id_users_id_fk",
1146
+ "tableFrom": "commits",
1147
+ "tableTo": "users",
1148
+ "columnsFrom": [
1149
+ "author_id"
1150
+ ],
1151
+ "columnsTo": [
1152
+ "id"
1153
+ ],
1154
+ "onDelete": "no action",
1155
+ "onUpdate": "no action"
1156
+ },
1157
+ "commits_committer_id_users_id_fk": {
1158
+ "name": "commits_committer_id_users_id_fk",
1159
+ "tableFrom": "commits",
1160
+ "tableTo": "users",
1161
+ "columnsFrom": [
1162
+ "committer_id"
1163
+ ],
1164
+ "columnsTo": [
1165
+ "id"
1166
+ ],
1167
+ "onDelete": "no action",
1168
+ "onUpdate": "no action"
1169
+ }
1170
+ },
1171
+ "compositePrimaryKeys": {},
1172
+ "uniqueConstraints": {},
1173
+ "policies": {},
1174
+ "checkConstraints": {},
1175
+ "isRLSEnabled": false
1176
+ },
1177
+ "public.events": {
1178
+ "name": "events",
1179
+ "schema": "",
1180
+ "columns": {
1181
+ "id": {
1182
+ "name": "id",
1183
+ "type": "serial",
1184
+ "primaryKey": true,
1185
+ "notNull": true
1186
+ },
1187
+ "account_id": {
1188
+ "name": "account_id",
1189
+ "type": "integer",
1190
+ "primaryKey": false,
1191
+ "notNull": true
1192
+ },
1193
+ "repo_id": {
1194
+ "name": "repo_id",
1195
+ "type": "integer",
1196
+ "primaryKey": false,
1197
+ "notNull": true
1198
+ },
1199
+ "actor_id": {
1200
+ "name": "actor_id",
1201
+ "type": "integer",
1202
+ "primaryKey": false,
1203
+ "notNull": false
1204
+ },
1205
+ "pr_id": {
1206
+ "name": "pr_id",
1207
+ "type": "integer",
1208
+ "primaryKey": false,
1209
+ "notNull": false
1210
+ },
1211
+ "type": {
1212
+ "name": "type",
1213
+ "type": "text",
1214
+ "primaryKey": false,
1215
+ "notNull": true
1216
+ },
1217
+ "occurred_at": {
1218
+ "name": "occurred_at",
1219
+ "type": "timestamp with time zone",
1220
+ "primaryKey": false,
1221
+ "notNull": true
1222
+ },
1223
+ "ref_table": {
1224
+ "name": "ref_table",
1225
+ "type": "text",
1226
+ "primaryKey": false,
1227
+ "notNull": false
1228
+ },
1229
+ "ref_id": {
1230
+ "name": "ref_id",
1231
+ "type": "integer",
1232
+ "primaryKey": false,
1233
+ "notNull": false
1234
+ },
1235
+ "dedupe_key": {
1236
+ "name": "dedupe_key",
1237
+ "type": "text",
1238
+ "primaryKey": false,
1239
+ "notNull": true
1240
+ }
1241
+ },
1242
+ "indexes": {
1243
+ "events_time_idx": {
1244
+ "name": "events_time_idx",
1245
+ "columns": [
1246
+ {
1247
+ "expression": "occurred_at",
1248
+ "isExpression": false,
1249
+ "asc": true,
1250
+ "nulls": "last"
1251
+ }
1252
+ ],
1253
+ "isUnique": false,
1254
+ "concurrently": false,
1255
+ "method": "btree",
1256
+ "with": {}
1257
+ },
1258
+ "events_repo_time_idx": {
1259
+ "name": "events_repo_time_idx",
1260
+ "columns": [
1261
+ {
1262
+ "expression": "repo_id",
1263
+ "isExpression": false,
1264
+ "asc": true,
1265
+ "nulls": "last"
1266
+ },
1267
+ {
1268
+ "expression": "occurred_at",
1269
+ "isExpression": false,
1270
+ "asc": true,
1271
+ "nulls": "last"
1272
+ }
1273
+ ],
1274
+ "isUnique": false,
1275
+ "concurrently": false,
1276
+ "method": "btree",
1277
+ "with": {}
1278
+ },
1279
+ "events_actor_idx": {
1280
+ "name": "events_actor_idx",
1281
+ "columns": [
1282
+ {
1283
+ "expression": "actor_id",
1284
+ "isExpression": false,
1285
+ "asc": true,
1286
+ "nulls": "last"
1287
+ }
1288
+ ],
1289
+ "isUnique": false,
1290
+ "concurrently": false,
1291
+ "method": "btree",
1292
+ "with": {}
1293
+ },
1294
+ "events_account_idx": {
1295
+ "name": "events_account_idx",
1296
+ "columns": [
1297
+ {
1298
+ "expression": "account_id",
1299
+ "isExpression": false,
1300
+ "asc": true,
1301
+ "nulls": "last"
1302
+ }
1303
+ ],
1304
+ "isUnique": false,
1305
+ "concurrently": false,
1306
+ "method": "btree",
1307
+ "with": {}
1308
+ },
1309
+ "events_pr_idx": {
1310
+ "name": "events_pr_idx",
1311
+ "columns": [
1312
+ {
1313
+ "expression": "pr_id",
1314
+ "isExpression": false,
1315
+ "asc": true,
1316
+ "nulls": "last"
1317
+ },
1318
+ {
1319
+ "expression": "occurred_at",
1320
+ "isExpression": false,
1321
+ "asc": true,
1322
+ "nulls": "last"
1323
+ }
1324
+ ],
1325
+ "isUnique": false,
1326
+ "concurrently": false,
1327
+ "method": "btree",
1328
+ "with": {}
1329
+ },
1330
+ "events_account_dedupe": {
1331
+ "name": "events_account_dedupe",
1332
+ "columns": [
1333
+ {
1334
+ "expression": "account_id",
1335
+ "isExpression": false,
1336
+ "asc": true,
1337
+ "nulls": "last"
1338
+ },
1339
+ {
1340
+ "expression": "dedupe_key",
1341
+ "isExpression": false,
1342
+ "asc": true,
1343
+ "nulls": "last"
1344
+ }
1345
+ ],
1346
+ "isUnique": true,
1347
+ "concurrently": false,
1348
+ "method": "btree",
1349
+ "with": {}
1350
+ }
1351
+ },
1352
+ "foreignKeys": {
1353
+ "events_account_id_accounts_id_fk": {
1354
+ "name": "events_account_id_accounts_id_fk",
1355
+ "tableFrom": "events",
1356
+ "tableTo": "accounts",
1357
+ "columnsFrom": [
1358
+ "account_id"
1359
+ ],
1360
+ "columnsTo": [
1361
+ "id"
1362
+ ],
1363
+ "onDelete": "no action",
1364
+ "onUpdate": "no action"
1365
+ },
1366
+ "events_repo_id_repos_id_fk": {
1367
+ "name": "events_repo_id_repos_id_fk",
1368
+ "tableFrom": "events",
1369
+ "tableTo": "repos",
1370
+ "columnsFrom": [
1371
+ "repo_id"
1372
+ ],
1373
+ "columnsTo": [
1374
+ "id"
1375
+ ],
1376
+ "onDelete": "no action",
1377
+ "onUpdate": "no action"
1378
+ },
1379
+ "events_actor_id_users_id_fk": {
1380
+ "name": "events_actor_id_users_id_fk",
1381
+ "tableFrom": "events",
1382
+ "tableTo": "users",
1383
+ "columnsFrom": [
1384
+ "actor_id"
1385
+ ],
1386
+ "columnsTo": [
1387
+ "id"
1388
+ ],
1389
+ "onDelete": "no action",
1390
+ "onUpdate": "no action"
1391
+ },
1392
+ "events_pr_id_pull_requests_id_fk": {
1393
+ "name": "events_pr_id_pull_requests_id_fk",
1394
+ "tableFrom": "events",
1395
+ "tableTo": "pull_requests",
1396
+ "columnsFrom": [
1397
+ "pr_id"
1398
+ ],
1399
+ "columnsTo": [
1400
+ "id"
1401
+ ],
1402
+ "onDelete": "no action",
1403
+ "onUpdate": "no action"
1404
+ }
1405
+ },
1406
+ "compositePrimaryKeys": {},
1407
+ "uniqueConstraints": {},
1408
+ "policies": {},
1409
+ "checkConstraints": {},
1410
+ "isRLSEnabled": false
1411
+ },
1412
+ "public.my_turn_dismissals": {
1413
+ "name": "my_turn_dismissals",
1414
+ "schema": "",
1415
+ "columns": {
1416
+ "id": {
1417
+ "name": "id",
1418
+ "type": "serial",
1419
+ "primaryKey": true,
1420
+ "notNull": true
1421
+ },
1422
+ "account_id": {
1423
+ "name": "account_id",
1424
+ "type": "integer",
1425
+ "primaryKey": false,
1426
+ "notNull": true
1427
+ },
1428
+ "kind": {
1429
+ "name": "kind",
1430
+ "type": "text",
1431
+ "primaryKey": false,
1432
+ "notNull": true
1433
+ },
1434
+ "ref_id": {
1435
+ "name": "ref_id",
1436
+ "type": "integer",
1437
+ "primaryKey": false,
1438
+ "notNull": true
1439
+ },
1440
+ "dismissed_at": {
1441
+ "name": "dismissed_at",
1442
+ "type": "timestamp with time zone",
1443
+ "primaryKey": false,
1444
+ "notNull": true
1445
+ }
1446
+ },
1447
+ "indexes": {
1448
+ "mtd_kind_ref_ux": {
1449
+ "name": "mtd_kind_ref_ux",
1450
+ "columns": [
1451
+ {
1452
+ "expression": "kind",
1453
+ "isExpression": false,
1454
+ "asc": true,
1455
+ "nulls": "last"
1456
+ },
1457
+ {
1458
+ "expression": "ref_id",
1459
+ "isExpression": false,
1460
+ "asc": true,
1461
+ "nulls": "last"
1462
+ }
1463
+ ],
1464
+ "isUnique": true,
1465
+ "concurrently": false,
1466
+ "method": "btree",
1467
+ "with": {}
1468
+ },
1469
+ "mtd_account_idx": {
1470
+ "name": "mtd_account_idx",
1471
+ "columns": [
1472
+ {
1473
+ "expression": "account_id",
1474
+ "isExpression": false,
1475
+ "asc": true,
1476
+ "nulls": "last"
1477
+ }
1478
+ ],
1479
+ "isUnique": false,
1480
+ "concurrently": false,
1481
+ "method": "btree",
1482
+ "with": {}
1483
+ }
1484
+ },
1485
+ "foreignKeys": {
1486
+ "my_turn_dismissals_account_id_accounts_id_fk": {
1487
+ "name": "my_turn_dismissals_account_id_accounts_id_fk",
1488
+ "tableFrom": "my_turn_dismissals",
1489
+ "tableTo": "accounts",
1490
+ "columnsFrom": [
1491
+ "account_id"
1492
+ ],
1493
+ "columnsTo": [
1494
+ "id"
1495
+ ],
1496
+ "onDelete": "no action",
1497
+ "onUpdate": "no action"
1498
+ }
1499
+ },
1500
+ "compositePrimaryKeys": {},
1501
+ "uniqueConstraints": {},
1502
+ "policies": {},
1503
+ "checkConstraints": {},
1504
+ "isRLSEnabled": false
1505
+ },
1506
+ "public.pr_comments": {
1507
+ "name": "pr_comments",
1508
+ "schema": "",
1509
+ "columns": {
1510
+ "id": {
1511
+ "name": "id",
1512
+ "type": "serial",
1513
+ "primaryKey": true,
1514
+ "notNull": true
1515
+ },
1516
+ "github_node_id": {
1517
+ "name": "github_node_id",
1518
+ "type": "text",
1519
+ "primaryKey": false,
1520
+ "notNull": true
1521
+ },
1522
+ "pr_id": {
1523
+ "name": "pr_id",
1524
+ "type": "integer",
1525
+ "primaryKey": false,
1526
+ "notNull": true
1527
+ },
1528
+ "author_id": {
1529
+ "name": "author_id",
1530
+ "type": "integer",
1531
+ "primaryKey": false,
1532
+ "notNull": false
1533
+ },
1534
+ "body": {
1535
+ "name": "body",
1536
+ "type": "text",
1537
+ "primaryKey": false,
1538
+ "notNull": false
1539
+ },
1540
+ "database_id": {
1541
+ "name": "database_id",
1542
+ "type": "text",
1543
+ "primaryKey": false,
1544
+ "notNull": false
1545
+ },
1546
+ "created_at": {
1547
+ "name": "created_at",
1548
+ "type": "timestamp with time zone",
1549
+ "primaryKey": false,
1550
+ "notNull": true
1551
+ }
1552
+ },
1553
+ "indexes": {
1554
+ "prc_pr_idx": {
1555
+ "name": "prc_pr_idx",
1556
+ "columns": [
1557
+ {
1558
+ "expression": "pr_id",
1559
+ "isExpression": false,
1560
+ "asc": true,
1561
+ "nulls": "last"
1562
+ }
1563
+ ],
1564
+ "isUnique": false,
1565
+ "concurrently": false,
1566
+ "method": "btree",
1567
+ "with": {}
1568
+ },
1569
+ "prc_pr_node": {
1570
+ "name": "prc_pr_node",
1571
+ "columns": [
1572
+ {
1573
+ "expression": "pr_id",
1574
+ "isExpression": false,
1575
+ "asc": true,
1576
+ "nulls": "last"
1577
+ },
1578
+ {
1579
+ "expression": "github_node_id",
1580
+ "isExpression": false,
1581
+ "asc": true,
1582
+ "nulls": "last"
1583
+ }
1584
+ ],
1585
+ "isUnique": true,
1586
+ "concurrently": false,
1587
+ "method": "btree",
1588
+ "with": {}
1589
+ }
1590
+ },
1591
+ "foreignKeys": {
1592
+ "pr_comments_pr_id_pull_requests_id_fk": {
1593
+ "name": "pr_comments_pr_id_pull_requests_id_fk",
1594
+ "tableFrom": "pr_comments",
1595
+ "tableTo": "pull_requests",
1596
+ "columnsFrom": [
1597
+ "pr_id"
1598
+ ],
1599
+ "columnsTo": [
1600
+ "id"
1601
+ ],
1602
+ "onDelete": "no action",
1603
+ "onUpdate": "no action"
1604
+ },
1605
+ "pr_comments_author_id_users_id_fk": {
1606
+ "name": "pr_comments_author_id_users_id_fk",
1607
+ "tableFrom": "pr_comments",
1608
+ "tableTo": "users",
1609
+ "columnsFrom": [
1610
+ "author_id"
1611
+ ],
1612
+ "columnsTo": [
1613
+ "id"
1614
+ ],
1615
+ "onDelete": "no action",
1616
+ "onUpdate": "no action"
1617
+ }
1618
+ },
1619
+ "compositePrimaryKeys": {},
1620
+ "uniqueConstraints": {},
1621
+ "policies": {},
1622
+ "checkConstraints": {},
1623
+ "isRLSEnabled": false
1624
+ },
1625
+ "public.pr_views": {
1626
+ "name": "pr_views",
1627
+ "schema": "",
1628
+ "columns": {
1629
+ "pr_id": {
1630
+ "name": "pr_id",
1631
+ "type": "integer",
1632
+ "primaryKey": true,
1633
+ "notNull": true
1634
+ },
1635
+ "last_viewed_sha": {
1636
+ "name": "last_viewed_sha",
1637
+ "type": "text",
1638
+ "primaryKey": false,
1639
+ "notNull": false
1640
+ },
1641
+ "last_viewed_at": {
1642
+ "name": "last_viewed_at",
1643
+ "type": "timestamp with time zone",
1644
+ "primaryKey": false,
1645
+ "notNull": true
1646
+ }
1647
+ },
1648
+ "indexes": {},
1649
+ "foreignKeys": {
1650
+ "pr_views_pr_id_pull_requests_id_fk": {
1651
+ "name": "pr_views_pr_id_pull_requests_id_fk",
1652
+ "tableFrom": "pr_views",
1653
+ "tableTo": "pull_requests",
1654
+ "columnsFrom": [
1655
+ "pr_id"
1656
+ ],
1657
+ "columnsTo": [
1658
+ "id"
1659
+ ],
1660
+ "onDelete": "no action",
1661
+ "onUpdate": "no action"
1662
+ }
1663
+ },
1664
+ "compositePrimaryKeys": {},
1665
+ "uniqueConstraints": {},
1666
+ "policies": {},
1667
+ "checkConstraints": {},
1668
+ "isRLSEnabled": false
1669
+ },
1670
+ "public.pull_requests": {
1671
+ "name": "pull_requests",
1672
+ "schema": "",
1673
+ "columns": {
1674
+ "id": {
1675
+ "name": "id",
1676
+ "type": "serial",
1677
+ "primaryKey": true,
1678
+ "notNull": true
1679
+ },
1680
+ "github_node_id": {
1681
+ "name": "github_node_id",
1682
+ "type": "text",
1683
+ "primaryKey": false,
1684
+ "notNull": true
1685
+ },
1686
+ "account_id": {
1687
+ "name": "account_id",
1688
+ "type": "integer",
1689
+ "primaryKey": false,
1690
+ "notNull": true
1691
+ },
1692
+ "repo_id": {
1693
+ "name": "repo_id",
1694
+ "type": "integer",
1695
+ "primaryKey": false,
1696
+ "notNull": true
1697
+ },
1698
+ "number": {
1699
+ "name": "number",
1700
+ "type": "integer",
1701
+ "primaryKey": false,
1702
+ "notNull": true
1703
+ },
1704
+ "title": {
1705
+ "name": "title",
1706
+ "type": "text",
1707
+ "primaryKey": false,
1708
+ "notNull": true
1709
+ },
1710
+ "body": {
1711
+ "name": "body",
1712
+ "type": "text",
1713
+ "primaryKey": false,
1714
+ "notNull": false
1715
+ },
1716
+ "author_id": {
1717
+ "name": "author_id",
1718
+ "type": "integer",
1719
+ "primaryKey": false,
1720
+ "notNull": false
1721
+ },
1722
+ "merged_by_id": {
1723
+ "name": "merged_by_id",
1724
+ "type": "integer",
1725
+ "primaryKey": false,
1726
+ "notNull": false
1727
+ },
1728
+ "base_ref_name": {
1729
+ "name": "base_ref_name",
1730
+ "type": "text",
1731
+ "primaryKey": false,
1732
+ "notNull": false
1733
+ },
1734
+ "head_ref_name": {
1735
+ "name": "head_ref_name",
1736
+ "type": "text",
1737
+ "primaryKey": false,
1738
+ "notNull": false
1739
+ },
1740
+ "state": {
1741
+ "name": "state",
1742
+ "type": "text",
1743
+ "primaryKey": false,
1744
+ "notNull": true
1745
+ },
1746
+ "is_draft": {
1747
+ "name": "is_draft",
1748
+ "type": "boolean",
1749
+ "primaryKey": false,
1750
+ "notNull": true,
1751
+ "default": false
1752
+ },
1753
+ "opened_at": {
1754
+ "name": "opened_at",
1755
+ "type": "timestamp with time zone",
1756
+ "primaryKey": false,
1757
+ "notNull": true
1758
+ },
1759
+ "first_review_at": {
1760
+ "name": "first_review_at",
1761
+ "type": "timestamp with time zone",
1762
+ "primaryKey": false,
1763
+ "notNull": false
1764
+ },
1765
+ "last_commit_at": {
1766
+ "name": "last_commit_at",
1767
+ "type": "timestamp with time zone",
1768
+ "primaryKey": false,
1769
+ "notNull": false
1770
+ },
1771
+ "merged_at": {
1772
+ "name": "merged_at",
1773
+ "type": "timestamp with time zone",
1774
+ "primaryKey": false,
1775
+ "notNull": false
1776
+ },
1777
+ "closed_at": {
1778
+ "name": "closed_at",
1779
+ "type": "timestamp with time zone",
1780
+ "primaryKey": false,
1781
+ "notNull": false
1782
+ },
1783
+ "updated_at": {
1784
+ "name": "updated_at",
1785
+ "type": "timestamp with time zone",
1786
+ "primaryKey": false,
1787
+ "notNull": true
1788
+ },
1789
+ "head_sha": {
1790
+ "name": "head_sha",
1791
+ "type": "text",
1792
+ "primaryKey": false,
1793
+ "notNull": false
1794
+ },
1795
+ "ci_status": {
1796
+ "name": "ci_status",
1797
+ "type": "text",
1798
+ "primaryKey": false,
1799
+ "notNull": false
1800
+ },
1801
+ "mergeable": {
1802
+ "name": "mergeable",
1803
+ "type": "text",
1804
+ "primaryKey": false,
1805
+ "notNull": false
1806
+ },
1807
+ "merge_state_status": {
1808
+ "name": "merge_state_status",
1809
+ "type": "text",
1810
+ "primaryKey": false,
1811
+ "notNull": false
1812
+ },
1813
+ "labels": {
1814
+ "name": "labels",
1815
+ "type": "jsonb",
1816
+ "primaryKey": false,
1817
+ "notNull": false
1818
+ },
1819
+ "check_runs": {
1820
+ "name": "check_runs",
1821
+ "type": "jsonb",
1822
+ "primaryKey": false,
1823
+ "notNull": false
1824
+ },
1825
+ "additions": {
1826
+ "name": "additions",
1827
+ "type": "integer",
1828
+ "primaryKey": false,
1829
+ "notNull": true,
1830
+ "default": 0
1831
+ },
1832
+ "deletions": {
1833
+ "name": "deletions",
1834
+ "type": "integer",
1835
+ "primaryKey": false,
1836
+ "notNull": true,
1837
+ "default": 0
1838
+ },
1839
+ "changed_files": {
1840
+ "name": "changed_files",
1841
+ "type": "integer",
1842
+ "primaryKey": false,
1843
+ "notNull": true,
1844
+ "default": 0
1845
+ },
1846
+ "files": {
1847
+ "name": "files",
1848
+ "type": "jsonb",
1849
+ "primaryKey": false,
1850
+ "notNull": false
1851
+ }
1852
+ },
1853
+ "indexes": {
1854
+ "pr_repo_idx": {
1855
+ "name": "pr_repo_idx",
1856
+ "columns": [
1857
+ {
1858
+ "expression": "repo_id",
1859
+ "isExpression": false,
1860
+ "asc": true,
1861
+ "nulls": "last"
1862
+ }
1863
+ ],
1864
+ "isUnique": false,
1865
+ "concurrently": false,
1866
+ "method": "btree",
1867
+ "with": {}
1868
+ },
1869
+ "pr_opened_idx": {
1870
+ "name": "pr_opened_idx",
1871
+ "columns": [
1872
+ {
1873
+ "expression": "opened_at",
1874
+ "isExpression": false,
1875
+ "asc": true,
1876
+ "nulls": "last"
1877
+ }
1878
+ ],
1879
+ "isUnique": false,
1880
+ "concurrently": false,
1881
+ "method": "btree",
1882
+ "with": {}
1883
+ },
1884
+ "pr_account_idx": {
1885
+ "name": "pr_account_idx",
1886
+ "columns": [
1887
+ {
1888
+ "expression": "account_id",
1889
+ "isExpression": false,
1890
+ "asc": true,
1891
+ "nulls": "last"
1892
+ }
1893
+ ],
1894
+ "isUnique": false,
1895
+ "concurrently": false,
1896
+ "method": "btree",
1897
+ "with": {}
1898
+ },
1899
+ "pr_account_node": {
1900
+ "name": "pr_account_node",
1901
+ "columns": [
1902
+ {
1903
+ "expression": "account_id",
1904
+ "isExpression": false,
1905
+ "asc": true,
1906
+ "nulls": "last"
1907
+ },
1908
+ {
1909
+ "expression": "github_node_id",
1910
+ "isExpression": false,
1911
+ "asc": true,
1912
+ "nulls": "last"
1913
+ }
1914
+ ],
1915
+ "isUnique": true,
1916
+ "concurrently": false,
1917
+ "method": "btree",
1918
+ "with": {}
1919
+ }
1920
+ },
1921
+ "foreignKeys": {
1922
+ "pull_requests_account_id_accounts_id_fk": {
1923
+ "name": "pull_requests_account_id_accounts_id_fk",
1924
+ "tableFrom": "pull_requests",
1925
+ "tableTo": "accounts",
1926
+ "columnsFrom": [
1927
+ "account_id"
1928
+ ],
1929
+ "columnsTo": [
1930
+ "id"
1931
+ ],
1932
+ "onDelete": "no action",
1933
+ "onUpdate": "no action"
1934
+ },
1935
+ "pull_requests_repo_id_repos_id_fk": {
1936
+ "name": "pull_requests_repo_id_repos_id_fk",
1937
+ "tableFrom": "pull_requests",
1938
+ "tableTo": "repos",
1939
+ "columnsFrom": [
1940
+ "repo_id"
1941
+ ],
1942
+ "columnsTo": [
1943
+ "id"
1944
+ ],
1945
+ "onDelete": "no action",
1946
+ "onUpdate": "no action"
1947
+ },
1948
+ "pull_requests_author_id_users_id_fk": {
1949
+ "name": "pull_requests_author_id_users_id_fk",
1950
+ "tableFrom": "pull_requests",
1951
+ "tableTo": "users",
1952
+ "columnsFrom": [
1953
+ "author_id"
1954
+ ],
1955
+ "columnsTo": [
1956
+ "id"
1957
+ ],
1958
+ "onDelete": "no action",
1959
+ "onUpdate": "no action"
1960
+ },
1961
+ "pull_requests_merged_by_id_users_id_fk": {
1962
+ "name": "pull_requests_merged_by_id_users_id_fk",
1963
+ "tableFrom": "pull_requests",
1964
+ "tableTo": "users",
1965
+ "columnsFrom": [
1966
+ "merged_by_id"
1967
+ ],
1968
+ "columnsTo": [
1969
+ "id"
1970
+ ],
1971
+ "onDelete": "no action",
1972
+ "onUpdate": "no action"
1973
+ }
1974
+ },
1975
+ "compositePrimaryKeys": {},
1976
+ "uniqueConstraints": {},
1977
+ "policies": {},
1978
+ "checkConstraints": {},
1979
+ "isRLSEnabled": false
1980
+ },
1981
+ "public.repos": {
1982
+ "name": "repos",
1983
+ "schema": "",
1984
+ "columns": {
1985
+ "id": {
1986
+ "name": "id",
1987
+ "type": "serial",
1988
+ "primaryKey": true,
1989
+ "notNull": true
1990
+ },
1991
+ "account_id": {
1992
+ "name": "account_id",
1993
+ "type": "integer",
1994
+ "primaryKey": false,
1995
+ "notNull": true
1996
+ },
1997
+ "owner": {
1998
+ "name": "owner",
1999
+ "type": "text",
2000
+ "primaryKey": false,
2001
+ "notNull": true
2002
+ },
2003
+ "name": {
2004
+ "name": "name",
2005
+ "type": "text",
2006
+ "primaryKey": false,
2007
+ "notNull": true
2008
+ },
2009
+ "github_node_id": {
2010
+ "name": "github_node_id",
2011
+ "type": "text",
2012
+ "primaryKey": false,
2013
+ "notNull": true
2014
+ },
2015
+ "default_branch": {
2016
+ "name": "default_branch",
2017
+ "type": "text",
2018
+ "primaryKey": false,
2019
+ "notNull": false
2020
+ },
2021
+ "viewer_permission": {
2022
+ "name": "viewer_permission",
2023
+ "type": "text",
2024
+ "primaryKey": false,
2025
+ "notNull": false
2026
+ },
2027
+ "backfill_until": {
2028
+ "name": "backfill_until",
2029
+ "type": "timestamp with time zone",
2030
+ "primaryKey": false,
2031
+ "notNull": false
2032
+ },
2033
+ "inbox_watch": {
2034
+ "name": "inbox_watch",
2035
+ "type": "boolean",
2036
+ "primaryKey": false,
2037
+ "notNull": true,
2038
+ "default": false
2039
+ },
2040
+ "inbox_watch_started_at": {
2041
+ "name": "inbox_watch_started_at",
2042
+ "type": "timestamp with time zone",
2043
+ "primaryKey": false,
2044
+ "notNull": false
2045
+ },
2046
+ "created_at": {
2047
+ "name": "created_at",
2048
+ "type": "timestamp with time zone",
2049
+ "primaryKey": false,
2050
+ "notNull": true,
2051
+ "default": "now()"
2052
+ }
2053
+ },
2054
+ "indexes": {
2055
+ "repos_account_owner_name": {
2056
+ "name": "repos_account_owner_name",
2057
+ "columns": [
2058
+ {
2059
+ "expression": "account_id",
2060
+ "isExpression": false,
2061
+ "asc": true,
2062
+ "nulls": "last"
2063
+ },
2064
+ {
2065
+ "expression": "owner",
2066
+ "isExpression": false,
2067
+ "asc": true,
2068
+ "nulls": "last"
2069
+ },
2070
+ {
2071
+ "expression": "name",
2072
+ "isExpression": false,
2073
+ "asc": true,
2074
+ "nulls": "last"
2075
+ }
2076
+ ],
2077
+ "isUnique": true,
2078
+ "concurrently": false,
2079
+ "method": "btree",
2080
+ "with": {}
2081
+ },
2082
+ "repos_account_node": {
2083
+ "name": "repos_account_node",
2084
+ "columns": [
2085
+ {
2086
+ "expression": "account_id",
2087
+ "isExpression": false,
2088
+ "asc": true,
2089
+ "nulls": "last"
2090
+ },
2091
+ {
2092
+ "expression": "github_node_id",
2093
+ "isExpression": false,
2094
+ "asc": true,
2095
+ "nulls": "last"
2096
+ }
2097
+ ],
2098
+ "isUnique": true,
2099
+ "concurrently": false,
2100
+ "method": "btree",
2101
+ "with": {}
2102
+ },
2103
+ "repos_account_idx": {
2104
+ "name": "repos_account_idx",
2105
+ "columns": [
2106
+ {
2107
+ "expression": "account_id",
2108
+ "isExpression": false,
2109
+ "asc": true,
2110
+ "nulls": "last"
2111
+ }
2112
+ ],
2113
+ "isUnique": false,
2114
+ "concurrently": false,
2115
+ "method": "btree",
2116
+ "with": {}
2117
+ }
2118
+ },
2119
+ "foreignKeys": {
2120
+ "repos_account_id_accounts_id_fk": {
2121
+ "name": "repos_account_id_accounts_id_fk",
2122
+ "tableFrom": "repos",
2123
+ "tableTo": "accounts",
2124
+ "columnsFrom": [
2125
+ "account_id"
2126
+ ],
2127
+ "columnsTo": [
2128
+ "id"
2129
+ ],
2130
+ "onDelete": "no action",
2131
+ "onUpdate": "no action"
2132
+ }
2133
+ },
2134
+ "compositePrimaryKeys": {},
2135
+ "uniqueConstraints": {},
2136
+ "policies": {},
2137
+ "checkConstraints": {},
2138
+ "isRLSEnabled": false
2139
+ },
2140
+ "public.review_comments": {
2141
+ "name": "review_comments",
2142
+ "schema": "",
2143
+ "columns": {
2144
+ "id": {
2145
+ "name": "id",
2146
+ "type": "serial",
2147
+ "primaryKey": true,
2148
+ "notNull": true
2149
+ },
2150
+ "github_node_id": {
2151
+ "name": "github_node_id",
2152
+ "type": "text",
2153
+ "primaryKey": false,
2154
+ "notNull": true
2155
+ },
2156
+ "thread_id": {
2157
+ "name": "thread_id",
2158
+ "type": "integer",
2159
+ "primaryKey": false,
2160
+ "notNull": true
2161
+ },
2162
+ "pr_id": {
2163
+ "name": "pr_id",
2164
+ "type": "integer",
2165
+ "primaryKey": false,
2166
+ "notNull": true
2167
+ },
2168
+ "author_id": {
2169
+ "name": "author_id",
2170
+ "type": "integer",
2171
+ "primaryKey": false,
2172
+ "notNull": false
2173
+ },
2174
+ "body": {
2175
+ "name": "body",
2176
+ "type": "text",
2177
+ "primaryKey": false,
2178
+ "notNull": false
2179
+ },
2180
+ "excerpt": {
2181
+ "name": "excerpt",
2182
+ "type": "text",
2183
+ "primaryKey": false,
2184
+ "notNull": false
2185
+ },
2186
+ "diff_hunk": {
2187
+ "name": "diff_hunk",
2188
+ "type": "text",
2189
+ "primaryKey": false,
2190
+ "notNull": false
2191
+ },
2192
+ "database_id": {
2193
+ "name": "database_id",
2194
+ "type": "text",
2195
+ "primaryKey": false,
2196
+ "notNull": false
2197
+ },
2198
+ "created_at": {
2199
+ "name": "created_at",
2200
+ "type": "timestamp with time zone",
2201
+ "primaryKey": false,
2202
+ "notNull": true
2203
+ }
2204
+ },
2205
+ "indexes": {
2206
+ "rc_thread_idx": {
2207
+ "name": "rc_thread_idx",
2208
+ "columns": [
2209
+ {
2210
+ "expression": "thread_id",
2211
+ "isExpression": false,
2212
+ "asc": true,
2213
+ "nulls": "last"
2214
+ }
2215
+ ],
2216
+ "isUnique": false,
2217
+ "concurrently": false,
2218
+ "method": "btree",
2219
+ "with": {}
2220
+ },
2221
+ "rc_pr_node": {
2222
+ "name": "rc_pr_node",
2223
+ "columns": [
2224
+ {
2225
+ "expression": "pr_id",
2226
+ "isExpression": false,
2227
+ "asc": true,
2228
+ "nulls": "last"
2229
+ },
2230
+ {
2231
+ "expression": "github_node_id",
2232
+ "isExpression": false,
2233
+ "asc": true,
2234
+ "nulls": "last"
2235
+ }
2236
+ ],
2237
+ "isUnique": true,
2238
+ "concurrently": false,
2239
+ "method": "btree",
2240
+ "with": {}
2241
+ }
2242
+ },
2243
+ "foreignKeys": {
2244
+ "review_comments_thread_id_review_threads_id_fk": {
2245
+ "name": "review_comments_thread_id_review_threads_id_fk",
2246
+ "tableFrom": "review_comments",
2247
+ "tableTo": "review_threads",
2248
+ "columnsFrom": [
2249
+ "thread_id"
2250
+ ],
2251
+ "columnsTo": [
2252
+ "id"
2253
+ ],
2254
+ "onDelete": "no action",
2255
+ "onUpdate": "no action"
2256
+ },
2257
+ "review_comments_pr_id_pull_requests_id_fk": {
2258
+ "name": "review_comments_pr_id_pull_requests_id_fk",
2259
+ "tableFrom": "review_comments",
2260
+ "tableTo": "pull_requests",
2261
+ "columnsFrom": [
2262
+ "pr_id"
2263
+ ],
2264
+ "columnsTo": [
2265
+ "id"
2266
+ ],
2267
+ "onDelete": "no action",
2268
+ "onUpdate": "no action"
2269
+ },
2270
+ "review_comments_author_id_users_id_fk": {
2271
+ "name": "review_comments_author_id_users_id_fk",
2272
+ "tableFrom": "review_comments",
2273
+ "tableTo": "users",
2274
+ "columnsFrom": [
2275
+ "author_id"
2276
+ ],
2277
+ "columnsTo": [
2278
+ "id"
2279
+ ],
2280
+ "onDelete": "no action",
2281
+ "onUpdate": "no action"
2282
+ }
2283
+ },
2284
+ "compositePrimaryKeys": {},
2285
+ "uniqueConstraints": {},
2286
+ "policies": {},
2287
+ "checkConstraints": {},
2288
+ "isRLSEnabled": false
2289
+ },
2290
+ "public.review_requests": {
2291
+ "name": "review_requests",
2292
+ "schema": "",
2293
+ "columns": {
2294
+ "id": {
2295
+ "name": "id",
2296
+ "type": "serial",
2297
+ "primaryKey": true,
2298
+ "notNull": true
2299
+ },
2300
+ "pr_id": {
2301
+ "name": "pr_id",
2302
+ "type": "integer",
2303
+ "primaryKey": false,
2304
+ "notNull": true
2305
+ },
2306
+ "user_id": {
2307
+ "name": "user_id",
2308
+ "type": "integer",
2309
+ "primaryKey": false,
2310
+ "notNull": false
2311
+ },
2312
+ "team_name": {
2313
+ "name": "team_name",
2314
+ "type": "text",
2315
+ "primaryKey": false,
2316
+ "notNull": false
2317
+ }
2318
+ },
2319
+ "indexes": {
2320
+ "rr_pr_idx": {
2321
+ "name": "rr_pr_idx",
2322
+ "columns": [
2323
+ {
2324
+ "expression": "pr_id",
2325
+ "isExpression": false,
2326
+ "asc": true,
2327
+ "nulls": "last"
2328
+ }
2329
+ ],
2330
+ "isUnique": false,
2331
+ "concurrently": false,
2332
+ "method": "btree",
2333
+ "with": {}
2334
+ },
2335
+ "rr_user_idx": {
2336
+ "name": "rr_user_idx",
2337
+ "columns": [
2338
+ {
2339
+ "expression": "user_id",
2340
+ "isExpression": false,
2341
+ "asc": true,
2342
+ "nulls": "last"
2343
+ }
2344
+ ],
2345
+ "isUnique": false,
2346
+ "concurrently": false,
2347
+ "method": "btree",
2348
+ "with": {}
2349
+ }
2350
+ },
2351
+ "foreignKeys": {
2352
+ "review_requests_pr_id_pull_requests_id_fk": {
2353
+ "name": "review_requests_pr_id_pull_requests_id_fk",
2354
+ "tableFrom": "review_requests",
2355
+ "tableTo": "pull_requests",
2356
+ "columnsFrom": [
2357
+ "pr_id"
2358
+ ],
2359
+ "columnsTo": [
2360
+ "id"
2361
+ ],
2362
+ "onDelete": "no action",
2363
+ "onUpdate": "no action"
2364
+ },
2365
+ "review_requests_user_id_users_id_fk": {
2366
+ "name": "review_requests_user_id_users_id_fk",
2367
+ "tableFrom": "review_requests",
2368
+ "tableTo": "users",
2369
+ "columnsFrom": [
2370
+ "user_id"
2371
+ ],
2372
+ "columnsTo": [
2373
+ "id"
2374
+ ],
2375
+ "onDelete": "no action",
2376
+ "onUpdate": "no action"
2377
+ }
2378
+ },
2379
+ "compositePrimaryKeys": {},
2380
+ "uniqueConstraints": {},
2381
+ "policies": {},
2382
+ "checkConstraints": {},
2383
+ "isRLSEnabled": false
2384
+ },
2385
+ "public.review_threads": {
2386
+ "name": "review_threads",
2387
+ "schema": "",
2388
+ "columns": {
2389
+ "id": {
2390
+ "name": "id",
2391
+ "type": "serial",
2392
+ "primaryKey": true,
2393
+ "notNull": true
2394
+ },
2395
+ "github_node_id": {
2396
+ "name": "github_node_id",
2397
+ "type": "text",
2398
+ "primaryKey": false,
2399
+ "notNull": true
2400
+ },
2401
+ "pr_id": {
2402
+ "name": "pr_id",
2403
+ "type": "integer",
2404
+ "primaryKey": false,
2405
+ "notNull": true
2406
+ },
2407
+ "path": {
2408
+ "name": "path",
2409
+ "type": "text",
2410
+ "primaryKey": false,
2411
+ "notNull": true
2412
+ },
2413
+ "line": {
2414
+ "name": "line",
2415
+ "type": "integer",
2416
+ "primaryKey": false,
2417
+ "notNull": false
2418
+ },
2419
+ "is_resolved": {
2420
+ "name": "is_resolved",
2421
+ "type": "boolean",
2422
+ "primaryKey": false,
2423
+ "notNull": true
2424
+ },
2425
+ "is_outdated": {
2426
+ "name": "is_outdated",
2427
+ "type": "boolean",
2428
+ "primaryKey": false,
2429
+ "notNull": true,
2430
+ "default": false
2431
+ },
2432
+ "derived_state": {
2433
+ "name": "derived_state",
2434
+ "type": "text",
2435
+ "primaryKey": false,
2436
+ "notNull": true
2437
+ },
2438
+ "original_commenter_id": {
2439
+ "name": "original_commenter_id",
2440
+ "type": "integer",
2441
+ "primaryKey": false,
2442
+ "notNull": false
2443
+ },
2444
+ "created_at": {
2445
+ "name": "created_at",
2446
+ "type": "timestamp with time zone",
2447
+ "primaryKey": false,
2448
+ "notNull": true
2449
+ }
2450
+ },
2451
+ "indexes": {
2452
+ "thread_pr_idx": {
2453
+ "name": "thread_pr_idx",
2454
+ "columns": [
2455
+ {
2456
+ "expression": "pr_id",
2457
+ "isExpression": false,
2458
+ "asc": true,
2459
+ "nulls": "last"
2460
+ }
2461
+ ],
2462
+ "isUnique": false,
2463
+ "concurrently": false,
2464
+ "method": "btree",
2465
+ "with": {}
2466
+ },
2467
+ "thread_pr_node": {
2468
+ "name": "thread_pr_node",
2469
+ "columns": [
2470
+ {
2471
+ "expression": "pr_id",
2472
+ "isExpression": false,
2473
+ "asc": true,
2474
+ "nulls": "last"
2475
+ },
2476
+ {
2477
+ "expression": "github_node_id",
2478
+ "isExpression": false,
2479
+ "asc": true,
2480
+ "nulls": "last"
2481
+ }
2482
+ ],
2483
+ "isUnique": true,
2484
+ "concurrently": false,
2485
+ "method": "btree",
2486
+ "with": {}
2487
+ }
2488
+ },
2489
+ "foreignKeys": {
2490
+ "review_threads_pr_id_pull_requests_id_fk": {
2491
+ "name": "review_threads_pr_id_pull_requests_id_fk",
2492
+ "tableFrom": "review_threads",
2493
+ "tableTo": "pull_requests",
2494
+ "columnsFrom": [
2495
+ "pr_id"
2496
+ ],
2497
+ "columnsTo": [
2498
+ "id"
2499
+ ],
2500
+ "onDelete": "no action",
2501
+ "onUpdate": "no action"
2502
+ },
2503
+ "review_threads_original_commenter_id_users_id_fk": {
2504
+ "name": "review_threads_original_commenter_id_users_id_fk",
2505
+ "tableFrom": "review_threads",
2506
+ "tableTo": "users",
2507
+ "columnsFrom": [
2508
+ "original_commenter_id"
2509
+ ],
2510
+ "columnsTo": [
2511
+ "id"
2512
+ ],
2513
+ "onDelete": "no action",
2514
+ "onUpdate": "no action"
2515
+ }
2516
+ },
2517
+ "compositePrimaryKeys": {},
2518
+ "uniqueConstraints": {},
2519
+ "policies": {},
2520
+ "checkConstraints": {},
2521
+ "isRLSEnabled": false
2522
+ },
2523
+ "public.reviews": {
2524
+ "name": "reviews",
2525
+ "schema": "",
2526
+ "columns": {
2527
+ "id": {
2528
+ "name": "id",
2529
+ "type": "serial",
2530
+ "primaryKey": true,
2531
+ "notNull": true
2532
+ },
2533
+ "github_node_id": {
2534
+ "name": "github_node_id",
2535
+ "type": "text",
2536
+ "primaryKey": false,
2537
+ "notNull": true
2538
+ },
2539
+ "pr_id": {
2540
+ "name": "pr_id",
2541
+ "type": "integer",
2542
+ "primaryKey": false,
2543
+ "notNull": true
2544
+ },
2545
+ "author_id": {
2546
+ "name": "author_id",
2547
+ "type": "integer",
2548
+ "primaryKey": false,
2549
+ "notNull": false
2550
+ },
2551
+ "state": {
2552
+ "name": "state",
2553
+ "type": "text",
2554
+ "primaryKey": false,
2555
+ "notNull": true
2556
+ },
2557
+ "body": {
2558
+ "name": "body",
2559
+ "type": "text",
2560
+ "primaryKey": false,
2561
+ "notNull": false
2562
+ },
2563
+ "database_id": {
2564
+ "name": "database_id",
2565
+ "type": "text",
2566
+ "primaryKey": false,
2567
+ "notNull": false
2568
+ },
2569
+ "submitted_at": {
2570
+ "name": "submitted_at",
2571
+ "type": "timestamp with time zone",
2572
+ "primaryKey": false,
2573
+ "notNull": true
2574
+ }
2575
+ },
2576
+ "indexes": {
2577
+ "rv_pr_idx": {
2578
+ "name": "rv_pr_idx",
2579
+ "columns": [
2580
+ {
2581
+ "expression": "pr_id",
2582
+ "isExpression": false,
2583
+ "asc": true,
2584
+ "nulls": "last"
2585
+ }
2586
+ ],
2587
+ "isUnique": false,
2588
+ "concurrently": false,
2589
+ "method": "btree",
2590
+ "with": {}
2591
+ },
2592
+ "reviews_pr_node": {
2593
+ "name": "reviews_pr_node",
2594
+ "columns": [
2595
+ {
2596
+ "expression": "pr_id",
2597
+ "isExpression": false,
2598
+ "asc": true,
2599
+ "nulls": "last"
2600
+ },
2601
+ {
2602
+ "expression": "github_node_id",
2603
+ "isExpression": false,
2604
+ "asc": true,
2605
+ "nulls": "last"
2606
+ }
2607
+ ],
2608
+ "isUnique": true,
2609
+ "concurrently": false,
2610
+ "method": "btree",
2611
+ "with": {}
2612
+ }
2613
+ },
2614
+ "foreignKeys": {
2615
+ "reviews_pr_id_pull_requests_id_fk": {
2616
+ "name": "reviews_pr_id_pull_requests_id_fk",
2617
+ "tableFrom": "reviews",
2618
+ "tableTo": "pull_requests",
2619
+ "columnsFrom": [
2620
+ "pr_id"
2621
+ ],
2622
+ "columnsTo": [
2623
+ "id"
2624
+ ],
2625
+ "onDelete": "no action",
2626
+ "onUpdate": "no action"
2627
+ },
2628
+ "reviews_author_id_users_id_fk": {
2629
+ "name": "reviews_author_id_users_id_fk",
2630
+ "tableFrom": "reviews",
2631
+ "tableTo": "users",
2632
+ "columnsFrom": [
2633
+ "author_id"
2634
+ ],
2635
+ "columnsTo": [
2636
+ "id"
2637
+ ],
2638
+ "onDelete": "no action",
2639
+ "onUpdate": "no action"
2640
+ }
2641
+ },
2642
+ "compositePrimaryKeys": {},
2643
+ "uniqueConstraints": {},
2644
+ "policies": {},
2645
+ "checkConstraints": {},
2646
+ "isRLSEnabled": false
2647
+ },
2648
+ "public.sync_state": {
2649
+ "name": "sync_state",
2650
+ "schema": "",
2651
+ "columns": {
2652
+ "repo_id": {
2653
+ "name": "repo_id",
2654
+ "type": "integer",
2655
+ "primaryKey": true,
2656
+ "notNull": true
2657
+ },
2658
+ "last_full_sync_at": {
2659
+ "name": "last_full_sync_at",
2660
+ "type": "timestamp with time zone",
2661
+ "primaryKey": false,
2662
+ "notNull": false
2663
+ },
2664
+ "last_incremental_sync_at": {
2665
+ "name": "last_incremental_sync_at",
2666
+ "type": "timestamp with time zone",
2667
+ "primaryKey": false,
2668
+ "notNull": false
2669
+ },
2670
+ "last_sync_status": {
2671
+ "name": "last_sync_status",
2672
+ "type": "text",
2673
+ "primaryKey": false,
2674
+ "notNull": false
2675
+ },
2676
+ "last_sync_error": {
2677
+ "name": "last_sync_error",
2678
+ "type": "text",
2679
+ "primaryKey": false,
2680
+ "notNull": false
2681
+ }
2682
+ },
2683
+ "indexes": {},
2684
+ "foreignKeys": {
2685
+ "sync_state_repo_id_repos_id_fk": {
2686
+ "name": "sync_state_repo_id_repos_id_fk",
2687
+ "tableFrom": "sync_state",
2688
+ "tableTo": "repos",
2689
+ "columnsFrom": [
2690
+ "repo_id"
2691
+ ],
2692
+ "columnsTo": [
2693
+ "id"
2694
+ ],
2695
+ "onDelete": "no action",
2696
+ "onUpdate": "no action"
2697
+ }
2698
+ },
2699
+ "compositePrimaryKeys": {},
2700
+ "uniqueConstraints": {},
2701
+ "policies": {},
2702
+ "checkConstraints": {},
2703
+ "isRLSEnabled": false
2704
+ },
2705
+ "public.team_repos": {
2706
+ "name": "team_repos",
2707
+ "schema": "",
2708
+ "columns": {
2709
+ "id": {
2710
+ "name": "id",
2711
+ "type": "serial",
2712
+ "primaryKey": true,
2713
+ "notNull": true
2714
+ },
2715
+ "account_id": {
2716
+ "name": "account_id",
2717
+ "type": "integer",
2718
+ "primaryKey": false,
2719
+ "notNull": true
2720
+ },
2721
+ "team_id": {
2722
+ "name": "team_id",
2723
+ "type": "integer",
2724
+ "primaryKey": false,
2725
+ "notNull": true
2726
+ },
2727
+ "repo_id": {
2728
+ "name": "repo_id",
2729
+ "type": "integer",
2730
+ "primaryKey": false,
2731
+ "notNull": true
2732
+ },
2733
+ "created_at": {
2734
+ "name": "created_at",
2735
+ "type": "timestamp with time zone",
2736
+ "primaryKey": false,
2737
+ "notNull": true,
2738
+ "default": "now()"
2739
+ }
2740
+ },
2741
+ "indexes": {
2742
+ "team_repos_team_repo": {
2743
+ "name": "team_repos_team_repo",
2744
+ "columns": [
2745
+ {
2746
+ "expression": "team_id",
2747
+ "isExpression": false,
2748
+ "asc": true,
2749
+ "nulls": "last"
2750
+ },
2751
+ {
2752
+ "expression": "repo_id",
2753
+ "isExpression": false,
2754
+ "asc": true,
2755
+ "nulls": "last"
2756
+ }
2757
+ ],
2758
+ "isUnique": true,
2759
+ "concurrently": false,
2760
+ "method": "btree",
2761
+ "with": {}
2762
+ },
2763
+ "team_repos_account_idx": {
2764
+ "name": "team_repos_account_idx",
2765
+ "columns": [
2766
+ {
2767
+ "expression": "account_id",
2768
+ "isExpression": false,
2769
+ "asc": true,
2770
+ "nulls": "last"
2771
+ }
2772
+ ],
2773
+ "isUnique": false,
2774
+ "concurrently": false,
2775
+ "method": "btree",
2776
+ "with": {}
2777
+ },
2778
+ "team_repos_repo_idx": {
2779
+ "name": "team_repos_repo_idx",
2780
+ "columns": [
2781
+ {
2782
+ "expression": "repo_id",
2783
+ "isExpression": false,
2784
+ "asc": true,
2785
+ "nulls": "last"
2786
+ }
2787
+ ],
2788
+ "isUnique": false,
2789
+ "concurrently": false,
2790
+ "method": "btree",
2791
+ "with": {}
2792
+ }
2793
+ },
2794
+ "foreignKeys": {
2795
+ "team_repos_account_id_accounts_id_fk": {
2796
+ "name": "team_repos_account_id_accounts_id_fk",
2797
+ "tableFrom": "team_repos",
2798
+ "tableTo": "accounts",
2799
+ "columnsFrom": [
2800
+ "account_id"
2801
+ ],
2802
+ "columnsTo": [
2803
+ "id"
2804
+ ],
2805
+ "onDelete": "cascade",
2806
+ "onUpdate": "no action"
2807
+ },
2808
+ "team_repos_team_id_teams_id_fk": {
2809
+ "name": "team_repos_team_id_teams_id_fk",
2810
+ "tableFrom": "team_repos",
2811
+ "tableTo": "teams",
2812
+ "columnsFrom": [
2813
+ "team_id"
2814
+ ],
2815
+ "columnsTo": [
2816
+ "id"
2817
+ ],
2818
+ "onDelete": "cascade",
2819
+ "onUpdate": "no action"
2820
+ },
2821
+ "team_repos_repo_id_repos_id_fk": {
2822
+ "name": "team_repos_repo_id_repos_id_fk",
2823
+ "tableFrom": "team_repos",
2824
+ "tableTo": "repos",
2825
+ "columnsFrom": [
2826
+ "repo_id"
2827
+ ],
2828
+ "columnsTo": [
2829
+ "id"
2830
+ ],
2831
+ "onDelete": "cascade",
2832
+ "onUpdate": "no action"
2833
+ }
2834
+ },
2835
+ "compositePrimaryKeys": {},
2836
+ "uniqueConstraints": {},
2837
+ "policies": {},
2838
+ "checkConstraints": {},
2839
+ "isRLSEnabled": false
2840
+ },
2841
+ "public.teams": {
2842
+ "name": "teams",
2843
+ "schema": "",
2844
+ "columns": {
2845
+ "id": {
2846
+ "name": "id",
2847
+ "type": "serial",
2848
+ "primaryKey": true,
2849
+ "notNull": true
2850
+ },
2851
+ "account_id": {
2852
+ "name": "account_id",
2853
+ "type": "integer",
2854
+ "primaryKey": false,
2855
+ "notNull": true
2856
+ },
2857
+ "name": {
2858
+ "name": "name",
2859
+ "type": "text",
2860
+ "primaryKey": false,
2861
+ "notNull": true
2862
+ },
2863
+ "created_at": {
2864
+ "name": "created_at",
2865
+ "type": "timestamp with time zone",
2866
+ "primaryKey": false,
2867
+ "notNull": true,
2868
+ "default": "now()"
2869
+ }
2870
+ },
2871
+ "indexes": {
2872
+ "teams_account_name": {
2873
+ "name": "teams_account_name",
2874
+ "columns": [
2875
+ {
2876
+ "expression": "account_id",
2877
+ "isExpression": false,
2878
+ "asc": true,
2879
+ "nulls": "last"
2880
+ },
2881
+ {
2882
+ "expression": "name",
2883
+ "isExpression": false,
2884
+ "asc": true,
2885
+ "nulls": "last"
2886
+ }
2887
+ ],
2888
+ "isUnique": true,
2889
+ "concurrently": false,
2890
+ "method": "btree",
2891
+ "with": {}
2892
+ },
2893
+ "teams_account_idx": {
2894
+ "name": "teams_account_idx",
2895
+ "columns": [
2896
+ {
2897
+ "expression": "account_id",
2898
+ "isExpression": false,
2899
+ "asc": true,
2900
+ "nulls": "last"
2901
+ }
2902
+ ],
2903
+ "isUnique": false,
2904
+ "concurrently": false,
2905
+ "method": "btree",
2906
+ "with": {}
2907
+ }
2908
+ },
2909
+ "foreignKeys": {
2910
+ "teams_account_id_accounts_id_fk": {
2911
+ "name": "teams_account_id_accounts_id_fk",
2912
+ "tableFrom": "teams",
2913
+ "tableTo": "accounts",
2914
+ "columnsFrom": [
2915
+ "account_id"
2916
+ ],
2917
+ "columnsTo": [
2918
+ "id"
2919
+ ],
2920
+ "onDelete": "cascade",
2921
+ "onUpdate": "no action"
2922
+ }
2923
+ },
2924
+ "compositePrimaryKeys": {},
2925
+ "uniqueConstraints": {},
2926
+ "policies": {},
2927
+ "checkConstraints": {},
2928
+ "isRLSEnabled": false
2929
+ },
2930
+ "public.users": {
2931
+ "name": "users",
2932
+ "schema": "",
2933
+ "columns": {
2934
+ "id": {
2935
+ "name": "id",
2936
+ "type": "serial",
2937
+ "primaryKey": true,
2938
+ "notNull": true
2939
+ },
2940
+ "github_login": {
2941
+ "name": "github_login",
2942
+ "type": "text",
2943
+ "primaryKey": false,
2944
+ "notNull": true
2945
+ },
2946
+ "github_node_id": {
2947
+ "name": "github_node_id",
2948
+ "type": "text",
2949
+ "primaryKey": false,
2950
+ "notNull": false
2951
+ },
2952
+ "display_name": {
2953
+ "name": "display_name",
2954
+ "type": "text",
2955
+ "primaryKey": false,
2956
+ "notNull": false
2957
+ },
2958
+ "avatar_url": {
2959
+ "name": "avatar_url",
2960
+ "type": "text",
2961
+ "primaryKey": false,
2962
+ "notNull": false
2963
+ },
2964
+ "is_bot": {
2965
+ "name": "is_bot",
2966
+ "type": "boolean",
2967
+ "primaryKey": false,
2968
+ "notNull": true,
2969
+ "default": false
2970
+ },
2971
+ "is_bot_overridden": {
2972
+ "name": "is_bot_overridden",
2973
+ "type": "boolean",
2974
+ "primaryKey": false,
2975
+ "notNull": true,
2976
+ "default": false
2977
+ },
2978
+ "github_type": {
2979
+ "name": "github_type",
2980
+ "type": "text",
2981
+ "primaryKey": false,
2982
+ "notNull": false
2983
+ }
2984
+ },
2985
+ "indexes": {},
2986
+ "foreignKeys": {},
2987
+ "compositePrimaryKeys": {},
2988
+ "uniqueConstraints": {
2989
+ "users_github_login_unique": {
2990
+ "name": "users_github_login_unique",
2991
+ "nullsNotDistinct": false,
2992
+ "columns": [
2993
+ "github_login"
2994
+ ]
2995
+ },
2996
+ "users_github_node_id_unique": {
2997
+ "name": "users_github_node_id_unique",
2998
+ "nullsNotDistinct": false,
2999
+ "columns": [
3000
+ "github_node_id"
3001
+ ]
3002
+ }
3003
+ },
3004
+ "policies": {},
3005
+ "checkConstraints": {},
3006
+ "isRLSEnabled": false
3007
+ }
3008
+ },
3009
+ "enums": {},
3010
+ "schemas": {},
3011
+ "sequences": {},
3012
+ "roles": {},
3013
+ "policies": {},
3014
+ "views": {},
3015
+ "_meta": {
3016
+ "columns": {},
3017
+ "schemas": {},
3018
+ "tables": {}
3019
+ }
3020
+ }