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,2256 @@
1
+ {
2
+ "id": "26aaa8bd-105e-4ba0-a7f0-0ecf73b41446",
3
+ "prevId": "d7ec6e27-09d4-4509-bef0-0840b52a593b",
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
+ },
80
+ "indexes": {},
81
+ "foreignKeys": {},
82
+ "compositePrimaryKeys": {},
83
+ "uniqueConstraints": {
84
+ "accounts_github_user_id_unique": {
85
+ "name": "accounts_github_user_id_unique",
86
+ "nullsNotDistinct": false,
87
+ "columns": [
88
+ "github_user_id"
89
+ ]
90
+ }
91
+ },
92
+ "policies": {},
93
+ "checkConstraints": {},
94
+ "isRLSEnabled": false
95
+ },
96
+ "public.claude_review_findings": {
97
+ "name": "claude_review_findings",
98
+ "schema": "",
99
+ "columns": {
100
+ "id": {
101
+ "name": "id",
102
+ "type": "serial",
103
+ "primaryKey": true,
104
+ "notNull": true
105
+ },
106
+ "review_id": {
107
+ "name": "review_id",
108
+ "type": "integer",
109
+ "primaryKey": false,
110
+ "notNull": true
111
+ },
112
+ "path": {
113
+ "name": "path",
114
+ "type": "text",
115
+ "primaryKey": false,
116
+ "notNull": true
117
+ },
118
+ "line": {
119
+ "name": "line",
120
+ "type": "integer",
121
+ "primaryKey": false,
122
+ "notNull": false
123
+ },
124
+ "side": {
125
+ "name": "side",
126
+ "type": "text",
127
+ "primaryKey": false,
128
+ "notNull": true,
129
+ "default": "'RIGHT'"
130
+ },
131
+ "severity": {
132
+ "name": "severity",
133
+ "type": "text",
134
+ "primaryKey": false,
135
+ "notNull": true
136
+ },
137
+ "title": {
138
+ "name": "title",
139
+ "type": "text",
140
+ "primaryKey": false,
141
+ "notNull": true
142
+ },
143
+ "body": {
144
+ "name": "body",
145
+ "type": "text",
146
+ "primaryKey": false,
147
+ "notNull": true
148
+ },
149
+ "edited_body": {
150
+ "name": "edited_body",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": false
154
+ },
155
+ "suggestion": {
156
+ "name": "suggestion",
157
+ "type": "text",
158
+ "primaryKey": false,
159
+ "notNull": false
160
+ },
161
+ "diff_hunk": {
162
+ "name": "diff_hunk",
163
+ "type": "text",
164
+ "primaryKey": false,
165
+ "notNull": false
166
+ },
167
+ "anchored": {
168
+ "name": "anchored",
169
+ "type": "boolean",
170
+ "primaryKey": false,
171
+ "notNull": true,
172
+ "default": true
173
+ },
174
+ "file_in_diff": {
175
+ "name": "file_in_diff",
176
+ "type": "boolean",
177
+ "primaryKey": false,
178
+ "notNull": true,
179
+ "default": true
180
+ },
181
+ "included": {
182
+ "name": "included",
183
+ "type": "boolean",
184
+ "primaryKey": false,
185
+ "notNull": true,
186
+ "default": false
187
+ },
188
+ "posted_at": {
189
+ "name": "posted_at",
190
+ "type": "timestamp with time zone",
191
+ "primaryKey": false,
192
+ "notNull": false
193
+ },
194
+ "github_comment_id": {
195
+ "name": "github_comment_id",
196
+ "type": "text",
197
+ "primaryKey": false,
198
+ "notNull": false
199
+ },
200
+ "posted_comment_kind": {
201
+ "name": "posted_comment_kind",
202
+ "type": "text",
203
+ "primaryKey": false,
204
+ "notNull": false
205
+ },
206
+ "created_at": {
207
+ "name": "created_at",
208
+ "type": "timestamp with time zone",
209
+ "primaryKey": false,
210
+ "notNull": true,
211
+ "default": "now()"
212
+ }
213
+ },
214
+ "indexes": {
215
+ "crf_review_idx": {
216
+ "name": "crf_review_idx",
217
+ "columns": [
218
+ {
219
+ "expression": "review_id",
220
+ "isExpression": false,
221
+ "asc": true,
222
+ "nulls": "last"
223
+ }
224
+ ],
225
+ "isUnique": false,
226
+ "concurrently": false,
227
+ "method": "btree",
228
+ "with": {}
229
+ }
230
+ },
231
+ "foreignKeys": {
232
+ "claude_review_findings_review_id_claude_reviews_id_fk": {
233
+ "name": "claude_review_findings_review_id_claude_reviews_id_fk",
234
+ "tableFrom": "claude_review_findings",
235
+ "tableTo": "claude_reviews",
236
+ "columnsFrom": [
237
+ "review_id"
238
+ ],
239
+ "columnsTo": [
240
+ "id"
241
+ ],
242
+ "onDelete": "no action",
243
+ "onUpdate": "no action"
244
+ }
245
+ },
246
+ "compositePrimaryKeys": {},
247
+ "uniqueConstraints": {},
248
+ "policies": {},
249
+ "checkConstraints": {},
250
+ "isRLSEnabled": false
251
+ },
252
+ "public.claude_reviews": {
253
+ "name": "claude_reviews",
254
+ "schema": "",
255
+ "columns": {
256
+ "id": {
257
+ "name": "id",
258
+ "type": "serial",
259
+ "primaryKey": true,
260
+ "notNull": true
261
+ },
262
+ "account_id": {
263
+ "name": "account_id",
264
+ "type": "integer",
265
+ "primaryKey": false,
266
+ "notNull": true
267
+ },
268
+ "pr_id": {
269
+ "name": "pr_id",
270
+ "type": "integer",
271
+ "primaryKey": false,
272
+ "notNull": true
273
+ },
274
+ "head_sha": {
275
+ "name": "head_sha",
276
+ "type": "text",
277
+ "primaryKey": false,
278
+ "notNull": true
279
+ },
280
+ "status": {
281
+ "name": "status",
282
+ "type": "text",
283
+ "primaryKey": false,
284
+ "notNull": true
285
+ },
286
+ "model": {
287
+ "name": "model",
288
+ "type": "text",
289
+ "primaryKey": false,
290
+ "notNull": true
291
+ },
292
+ "scope": {
293
+ "name": "scope",
294
+ "type": "text",
295
+ "primaryKey": false,
296
+ "notNull": false
297
+ },
298
+ "review_mode": {
299
+ "name": "review_mode",
300
+ "type": "text",
301
+ "primaryKey": false,
302
+ "notNull": false
303
+ },
304
+ "route_reason": {
305
+ "name": "route_reason",
306
+ "type": "jsonb",
307
+ "primaryKey": false,
308
+ "notNull": false
309
+ },
310
+ "summary": {
311
+ "name": "summary",
312
+ "type": "text",
313
+ "primaryKey": false,
314
+ "notNull": false
315
+ },
316
+ "verdict": {
317
+ "name": "verdict",
318
+ "type": "text",
319
+ "primaryKey": false,
320
+ "notNull": false
321
+ },
322
+ "user_body": {
323
+ "name": "user_body",
324
+ "type": "text",
325
+ "primaryKey": false,
326
+ "notNull": false
327
+ },
328
+ "user_verdict": {
329
+ "name": "user_verdict",
330
+ "type": "text",
331
+ "primaryKey": false,
332
+ "notNull": false
333
+ },
334
+ "cost_usd": {
335
+ "name": "cost_usd",
336
+ "type": "double precision",
337
+ "primaryKey": false,
338
+ "notNull": false
339
+ },
340
+ "input_tokens": {
341
+ "name": "input_tokens",
342
+ "type": "integer",
343
+ "primaryKey": false,
344
+ "notNull": false
345
+ },
346
+ "output_tokens": {
347
+ "name": "output_tokens",
348
+ "type": "integer",
349
+ "primaryKey": false,
350
+ "notNull": false
351
+ },
352
+ "cache_read_tokens": {
353
+ "name": "cache_read_tokens",
354
+ "type": "integer",
355
+ "primaryKey": false,
356
+ "notNull": false
357
+ },
358
+ "cache_creation_tokens": {
359
+ "name": "cache_creation_tokens",
360
+ "type": "integer",
361
+ "primaryKey": false,
362
+ "notNull": false
363
+ },
364
+ "num_turns": {
365
+ "name": "num_turns",
366
+ "type": "integer",
367
+ "primaryKey": false,
368
+ "notNull": false
369
+ },
370
+ "diff_bytes": {
371
+ "name": "diff_bytes",
372
+ "type": "integer",
373
+ "primaryKey": false,
374
+ "notNull": false
375
+ },
376
+ "diff_capped": {
377
+ "name": "diff_capped",
378
+ "type": "boolean",
379
+ "primaryKey": false,
380
+ "notNull": false
381
+ },
382
+ "error": {
383
+ "name": "error",
384
+ "type": "text",
385
+ "primaryKey": false,
386
+ "notNull": false
387
+ },
388
+ "excluded_files": {
389
+ "name": "excluded_files",
390
+ "type": "jsonb",
391
+ "primaryKey": false,
392
+ "notNull": false
393
+ },
394
+ "posted_review_id": {
395
+ "name": "posted_review_id",
396
+ "type": "text",
397
+ "primaryKey": false,
398
+ "notNull": false
399
+ },
400
+ "posted_at": {
401
+ "name": "posted_at",
402
+ "type": "timestamp with time zone",
403
+ "primaryKey": false,
404
+ "notNull": false
405
+ },
406
+ "created_at": {
407
+ "name": "created_at",
408
+ "type": "timestamp with time zone",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "default": "now()"
412
+ },
413
+ "finished_at": {
414
+ "name": "finished_at",
415
+ "type": "timestamp with time zone",
416
+ "primaryKey": false,
417
+ "notNull": false
418
+ }
419
+ },
420
+ "indexes": {
421
+ "cr_pr_idx": {
422
+ "name": "cr_pr_idx",
423
+ "columns": [
424
+ {
425
+ "expression": "pr_id",
426
+ "isExpression": false,
427
+ "asc": true,
428
+ "nulls": "last"
429
+ }
430
+ ],
431
+ "isUnique": false,
432
+ "concurrently": false,
433
+ "method": "btree",
434
+ "with": {}
435
+ },
436
+ "cr_pr_sha_idx": {
437
+ "name": "cr_pr_sha_idx",
438
+ "columns": [
439
+ {
440
+ "expression": "pr_id",
441
+ "isExpression": false,
442
+ "asc": true,
443
+ "nulls": "last"
444
+ },
445
+ {
446
+ "expression": "head_sha",
447
+ "isExpression": false,
448
+ "asc": true,
449
+ "nulls": "last"
450
+ }
451
+ ],
452
+ "isUnique": false,
453
+ "concurrently": false,
454
+ "method": "btree",
455
+ "with": {}
456
+ },
457
+ "cr_account_idx": {
458
+ "name": "cr_account_idx",
459
+ "columns": [
460
+ {
461
+ "expression": "account_id",
462
+ "isExpression": false,
463
+ "asc": true,
464
+ "nulls": "last"
465
+ }
466
+ ],
467
+ "isUnique": false,
468
+ "concurrently": false,
469
+ "method": "btree",
470
+ "with": {}
471
+ }
472
+ },
473
+ "foreignKeys": {
474
+ "claude_reviews_account_id_accounts_id_fk": {
475
+ "name": "claude_reviews_account_id_accounts_id_fk",
476
+ "tableFrom": "claude_reviews",
477
+ "tableTo": "accounts",
478
+ "columnsFrom": [
479
+ "account_id"
480
+ ],
481
+ "columnsTo": [
482
+ "id"
483
+ ],
484
+ "onDelete": "no action",
485
+ "onUpdate": "no action"
486
+ },
487
+ "claude_reviews_pr_id_pull_requests_id_fk": {
488
+ "name": "claude_reviews_pr_id_pull_requests_id_fk",
489
+ "tableFrom": "claude_reviews",
490
+ "tableTo": "pull_requests",
491
+ "columnsFrom": [
492
+ "pr_id"
493
+ ],
494
+ "columnsTo": [
495
+ "id"
496
+ ],
497
+ "onDelete": "no action",
498
+ "onUpdate": "no action"
499
+ }
500
+ },
501
+ "compositePrimaryKeys": {},
502
+ "uniqueConstraints": {},
503
+ "policies": {},
504
+ "checkConstraints": {},
505
+ "isRLSEnabled": false
506
+ },
507
+ "public.commit_files": {
508
+ "name": "commit_files",
509
+ "schema": "",
510
+ "columns": {
511
+ "sha": {
512
+ "name": "sha",
513
+ "type": "text",
514
+ "primaryKey": true,
515
+ "notNull": true
516
+ },
517
+ "paths": {
518
+ "name": "paths",
519
+ "type": "jsonb",
520
+ "primaryKey": false,
521
+ "notNull": true
522
+ },
523
+ "fetched_at": {
524
+ "name": "fetched_at",
525
+ "type": "timestamp with time zone",
526
+ "primaryKey": false,
527
+ "notNull": true,
528
+ "default": "now()"
529
+ }
530
+ },
531
+ "indexes": {},
532
+ "foreignKeys": {},
533
+ "compositePrimaryKeys": {},
534
+ "uniqueConstraints": {},
535
+ "policies": {},
536
+ "checkConstraints": {},
537
+ "isRLSEnabled": false
538
+ },
539
+ "public.commits": {
540
+ "name": "commits",
541
+ "schema": "",
542
+ "columns": {
543
+ "id": {
544
+ "name": "id",
545
+ "type": "serial",
546
+ "primaryKey": true,
547
+ "notNull": true
548
+ },
549
+ "sha": {
550
+ "name": "sha",
551
+ "type": "text",
552
+ "primaryKey": false,
553
+ "notNull": true
554
+ },
555
+ "pr_id": {
556
+ "name": "pr_id",
557
+ "type": "integer",
558
+ "primaryKey": false,
559
+ "notNull": true
560
+ },
561
+ "author_id": {
562
+ "name": "author_id",
563
+ "type": "integer",
564
+ "primaryKey": false,
565
+ "notNull": false
566
+ },
567
+ "committer_id": {
568
+ "name": "committer_id",
569
+ "type": "integer",
570
+ "primaryKey": false,
571
+ "notNull": false
572
+ },
573
+ "message": {
574
+ "name": "message",
575
+ "type": "text",
576
+ "primaryKey": false,
577
+ "notNull": false
578
+ },
579
+ "committed_at": {
580
+ "name": "committed_at",
581
+ "type": "timestamp with time zone",
582
+ "primaryKey": false,
583
+ "notNull": true
584
+ }
585
+ },
586
+ "indexes": {
587
+ "commit_pr_idx": {
588
+ "name": "commit_pr_idx",
589
+ "columns": [
590
+ {
591
+ "expression": "pr_id",
592
+ "isExpression": false,
593
+ "asc": true,
594
+ "nulls": "last"
595
+ }
596
+ ],
597
+ "isUnique": false,
598
+ "concurrently": false,
599
+ "method": "btree",
600
+ "with": {}
601
+ },
602
+ "commit_sha_pr_ux": {
603
+ "name": "commit_sha_pr_ux",
604
+ "columns": [
605
+ {
606
+ "expression": "sha",
607
+ "isExpression": false,
608
+ "asc": true,
609
+ "nulls": "last"
610
+ },
611
+ {
612
+ "expression": "pr_id",
613
+ "isExpression": false,
614
+ "asc": true,
615
+ "nulls": "last"
616
+ }
617
+ ],
618
+ "isUnique": true,
619
+ "concurrently": false,
620
+ "method": "btree",
621
+ "with": {}
622
+ }
623
+ },
624
+ "foreignKeys": {
625
+ "commits_pr_id_pull_requests_id_fk": {
626
+ "name": "commits_pr_id_pull_requests_id_fk",
627
+ "tableFrom": "commits",
628
+ "tableTo": "pull_requests",
629
+ "columnsFrom": [
630
+ "pr_id"
631
+ ],
632
+ "columnsTo": [
633
+ "id"
634
+ ],
635
+ "onDelete": "no action",
636
+ "onUpdate": "no action"
637
+ },
638
+ "commits_author_id_users_id_fk": {
639
+ "name": "commits_author_id_users_id_fk",
640
+ "tableFrom": "commits",
641
+ "tableTo": "users",
642
+ "columnsFrom": [
643
+ "author_id"
644
+ ],
645
+ "columnsTo": [
646
+ "id"
647
+ ],
648
+ "onDelete": "no action",
649
+ "onUpdate": "no action"
650
+ },
651
+ "commits_committer_id_users_id_fk": {
652
+ "name": "commits_committer_id_users_id_fk",
653
+ "tableFrom": "commits",
654
+ "tableTo": "users",
655
+ "columnsFrom": [
656
+ "committer_id"
657
+ ],
658
+ "columnsTo": [
659
+ "id"
660
+ ],
661
+ "onDelete": "no action",
662
+ "onUpdate": "no action"
663
+ }
664
+ },
665
+ "compositePrimaryKeys": {},
666
+ "uniqueConstraints": {},
667
+ "policies": {},
668
+ "checkConstraints": {},
669
+ "isRLSEnabled": false
670
+ },
671
+ "public.events": {
672
+ "name": "events",
673
+ "schema": "",
674
+ "columns": {
675
+ "id": {
676
+ "name": "id",
677
+ "type": "serial",
678
+ "primaryKey": true,
679
+ "notNull": true
680
+ },
681
+ "account_id": {
682
+ "name": "account_id",
683
+ "type": "integer",
684
+ "primaryKey": false,
685
+ "notNull": true
686
+ },
687
+ "repo_id": {
688
+ "name": "repo_id",
689
+ "type": "integer",
690
+ "primaryKey": false,
691
+ "notNull": true
692
+ },
693
+ "actor_id": {
694
+ "name": "actor_id",
695
+ "type": "integer",
696
+ "primaryKey": false,
697
+ "notNull": false
698
+ },
699
+ "pr_id": {
700
+ "name": "pr_id",
701
+ "type": "integer",
702
+ "primaryKey": false,
703
+ "notNull": false
704
+ },
705
+ "type": {
706
+ "name": "type",
707
+ "type": "text",
708
+ "primaryKey": false,
709
+ "notNull": true
710
+ },
711
+ "occurred_at": {
712
+ "name": "occurred_at",
713
+ "type": "timestamp with time zone",
714
+ "primaryKey": false,
715
+ "notNull": true
716
+ },
717
+ "ref_table": {
718
+ "name": "ref_table",
719
+ "type": "text",
720
+ "primaryKey": false,
721
+ "notNull": false
722
+ },
723
+ "ref_id": {
724
+ "name": "ref_id",
725
+ "type": "integer",
726
+ "primaryKey": false,
727
+ "notNull": false
728
+ },
729
+ "dedupe_key": {
730
+ "name": "dedupe_key",
731
+ "type": "text",
732
+ "primaryKey": false,
733
+ "notNull": true
734
+ }
735
+ },
736
+ "indexes": {
737
+ "events_time_idx": {
738
+ "name": "events_time_idx",
739
+ "columns": [
740
+ {
741
+ "expression": "occurred_at",
742
+ "isExpression": false,
743
+ "asc": true,
744
+ "nulls": "last"
745
+ }
746
+ ],
747
+ "isUnique": false,
748
+ "concurrently": false,
749
+ "method": "btree",
750
+ "with": {}
751
+ },
752
+ "events_repo_time_idx": {
753
+ "name": "events_repo_time_idx",
754
+ "columns": [
755
+ {
756
+ "expression": "repo_id",
757
+ "isExpression": false,
758
+ "asc": true,
759
+ "nulls": "last"
760
+ },
761
+ {
762
+ "expression": "occurred_at",
763
+ "isExpression": false,
764
+ "asc": true,
765
+ "nulls": "last"
766
+ }
767
+ ],
768
+ "isUnique": false,
769
+ "concurrently": false,
770
+ "method": "btree",
771
+ "with": {}
772
+ },
773
+ "events_actor_idx": {
774
+ "name": "events_actor_idx",
775
+ "columns": [
776
+ {
777
+ "expression": "actor_id",
778
+ "isExpression": false,
779
+ "asc": true,
780
+ "nulls": "last"
781
+ }
782
+ ],
783
+ "isUnique": false,
784
+ "concurrently": false,
785
+ "method": "btree",
786
+ "with": {}
787
+ },
788
+ "events_account_idx": {
789
+ "name": "events_account_idx",
790
+ "columns": [
791
+ {
792
+ "expression": "account_id",
793
+ "isExpression": false,
794
+ "asc": true,
795
+ "nulls": "last"
796
+ }
797
+ ],
798
+ "isUnique": false,
799
+ "concurrently": false,
800
+ "method": "btree",
801
+ "with": {}
802
+ },
803
+ "events_account_dedupe": {
804
+ "name": "events_account_dedupe",
805
+ "columns": [
806
+ {
807
+ "expression": "account_id",
808
+ "isExpression": false,
809
+ "asc": true,
810
+ "nulls": "last"
811
+ },
812
+ {
813
+ "expression": "dedupe_key",
814
+ "isExpression": false,
815
+ "asc": true,
816
+ "nulls": "last"
817
+ }
818
+ ],
819
+ "isUnique": true,
820
+ "concurrently": false,
821
+ "method": "btree",
822
+ "with": {}
823
+ }
824
+ },
825
+ "foreignKeys": {
826
+ "events_account_id_accounts_id_fk": {
827
+ "name": "events_account_id_accounts_id_fk",
828
+ "tableFrom": "events",
829
+ "tableTo": "accounts",
830
+ "columnsFrom": [
831
+ "account_id"
832
+ ],
833
+ "columnsTo": [
834
+ "id"
835
+ ],
836
+ "onDelete": "no action",
837
+ "onUpdate": "no action"
838
+ },
839
+ "events_repo_id_repos_id_fk": {
840
+ "name": "events_repo_id_repos_id_fk",
841
+ "tableFrom": "events",
842
+ "tableTo": "repos",
843
+ "columnsFrom": [
844
+ "repo_id"
845
+ ],
846
+ "columnsTo": [
847
+ "id"
848
+ ],
849
+ "onDelete": "no action",
850
+ "onUpdate": "no action"
851
+ },
852
+ "events_actor_id_users_id_fk": {
853
+ "name": "events_actor_id_users_id_fk",
854
+ "tableFrom": "events",
855
+ "tableTo": "users",
856
+ "columnsFrom": [
857
+ "actor_id"
858
+ ],
859
+ "columnsTo": [
860
+ "id"
861
+ ],
862
+ "onDelete": "no action",
863
+ "onUpdate": "no action"
864
+ },
865
+ "events_pr_id_pull_requests_id_fk": {
866
+ "name": "events_pr_id_pull_requests_id_fk",
867
+ "tableFrom": "events",
868
+ "tableTo": "pull_requests",
869
+ "columnsFrom": [
870
+ "pr_id"
871
+ ],
872
+ "columnsTo": [
873
+ "id"
874
+ ],
875
+ "onDelete": "no action",
876
+ "onUpdate": "no action"
877
+ }
878
+ },
879
+ "compositePrimaryKeys": {},
880
+ "uniqueConstraints": {},
881
+ "policies": {},
882
+ "checkConstraints": {},
883
+ "isRLSEnabled": false
884
+ },
885
+ "public.my_turn_dismissals": {
886
+ "name": "my_turn_dismissals",
887
+ "schema": "",
888
+ "columns": {
889
+ "id": {
890
+ "name": "id",
891
+ "type": "serial",
892
+ "primaryKey": true,
893
+ "notNull": true
894
+ },
895
+ "account_id": {
896
+ "name": "account_id",
897
+ "type": "integer",
898
+ "primaryKey": false,
899
+ "notNull": true
900
+ },
901
+ "kind": {
902
+ "name": "kind",
903
+ "type": "text",
904
+ "primaryKey": false,
905
+ "notNull": true
906
+ },
907
+ "ref_id": {
908
+ "name": "ref_id",
909
+ "type": "integer",
910
+ "primaryKey": false,
911
+ "notNull": true
912
+ },
913
+ "dismissed_at": {
914
+ "name": "dismissed_at",
915
+ "type": "timestamp with time zone",
916
+ "primaryKey": false,
917
+ "notNull": true
918
+ }
919
+ },
920
+ "indexes": {
921
+ "mtd_kind_ref_ux": {
922
+ "name": "mtd_kind_ref_ux",
923
+ "columns": [
924
+ {
925
+ "expression": "kind",
926
+ "isExpression": false,
927
+ "asc": true,
928
+ "nulls": "last"
929
+ },
930
+ {
931
+ "expression": "ref_id",
932
+ "isExpression": false,
933
+ "asc": true,
934
+ "nulls": "last"
935
+ }
936
+ ],
937
+ "isUnique": true,
938
+ "concurrently": false,
939
+ "method": "btree",
940
+ "with": {}
941
+ },
942
+ "mtd_account_idx": {
943
+ "name": "mtd_account_idx",
944
+ "columns": [
945
+ {
946
+ "expression": "account_id",
947
+ "isExpression": false,
948
+ "asc": true,
949
+ "nulls": "last"
950
+ }
951
+ ],
952
+ "isUnique": false,
953
+ "concurrently": false,
954
+ "method": "btree",
955
+ "with": {}
956
+ }
957
+ },
958
+ "foreignKeys": {
959
+ "my_turn_dismissals_account_id_accounts_id_fk": {
960
+ "name": "my_turn_dismissals_account_id_accounts_id_fk",
961
+ "tableFrom": "my_turn_dismissals",
962
+ "tableTo": "accounts",
963
+ "columnsFrom": [
964
+ "account_id"
965
+ ],
966
+ "columnsTo": [
967
+ "id"
968
+ ],
969
+ "onDelete": "no action",
970
+ "onUpdate": "no action"
971
+ }
972
+ },
973
+ "compositePrimaryKeys": {},
974
+ "uniqueConstraints": {},
975
+ "policies": {},
976
+ "checkConstraints": {},
977
+ "isRLSEnabled": false
978
+ },
979
+ "public.pr_comments": {
980
+ "name": "pr_comments",
981
+ "schema": "",
982
+ "columns": {
983
+ "id": {
984
+ "name": "id",
985
+ "type": "serial",
986
+ "primaryKey": true,
987
+ "notNull": true
988
+ },
989
+ "github_node_id": {
990
+ "name": "github_node_id",
991
+ "type": "text",
992
+ "primaryKey": false,
993
+ "notNull": true
994
+ },
995
+ "pr_id": {
996
+ "name": "pr_id",
997
+ "type": "integer",
998
+ "primaryKey": false,
999
+ "notNull": true
1000
+ },
1001
+ "author_id": {
1002
+ "name": "author_id",
1003
+ "type": "integer",
1004
+ "primaryKey": false,
1005
+ "notNull": false
1006
+ },
1007
+ "body": {
1008
+ "name": "body",
1009
+ "type": "text",
1010
+ "primaryKey": false,
1011
+ "notNull": false
1012
+ },
1013
+ "database_id": {
1014
+ "name": "database_id",
1015
+ "type": "text",
1016
+ "primaryKey": false,
1017
+ "notNull": false
1018
+ },
1019
+ "created_at": {
1020
+ "name": "created_at",
1021
+ "type": "timestamp with time zone",
1022
+ "primaryKey": false,
1023
+ "notNull": true
1024
+ }
1025
+ },
1026
+ "indexes": {
1027
+ "prc_pr_idx": {
1028
+ "name": "prc_pr_idx",
1029
+ "columns": [
1030
+ {
1031
+ "expression": "pr_id",
1032
+ "isExpression": false,
1033
+ "asc": true,
1034
+ "nulls": "last"
1035
+ }
1036
+ ],
1037
+ "isUnique": false,
1038
+ "concurrently": false,
1039
+ "method": "btree",
1040
+ "with": {}
1041
+ },
1042
+ "prc_pr_node": {
1043
+ "name": "prc_pr_node",
1044
+ "columns": [
1045
+ {
1046
+ "expression": "pr_id",
1047
+ "isExpression": false,
1048
+ "asc": true,
1049
+ "nulls": "last"
1050
+ },
1051
+ {
1052
+ "expression": "github_node_id",
1053
+ "isExpression": false,
1054
+ "asc": true,
1055
+ "nulls": "last"
1056
+ }
1057
+ ],
1058
+ "isUnique": true,
1059
+ "concurrently": false,
1060
+ "method": "btree",
1061
+ "with": {}
1062
+ }
1063
+ },
1064
+ "foreignKeys": {
1065
+ "pr_comments_pr_id_pull_requests_id_fk": {
1066
+ "name": "pr_comments_pr_id_pull_requests_id_fk",
1067
+ "tableFrom": "pr_comments",
1068
+ "tableTo": "pull_requests",
1069
+ "columnsFrom": [
1070
+ "pr_id"
1071
+ ],
1072
+ "columnsTo": [
1073
+ "id"
1074
+ ],
1075
+ "onDelete": "no action",
1076
+ "onUpdate": "no action"
1077
+ },
1078
+ "pr_comments_author_id_users_id_fk": {
1079
+ "name": "pr_comments_author_id_users_id_fk",
1080
+ "tableFrom": "pr_comments",
1081
+ "tableTo": "users",
1082
+ "columnsFrom": [
1083
+ "author_id"
1084
+ ],
1085
+ "columnsTo": [
1086
+ "id"
1087
+ ],
1088
+ "onDelete": "no action",
1089
+ "onUpdate": "no action"
1090
+ }
1091
+ },
1092
+ "compositePrimaryKeys": {},
1093
+ "uniqueConstraints": {},
1094
+ "policies": {},
1095
+ "checkConstraints": {},
1096
+ "isRLSEnabled": false
1097
+ },
1098
+ "public.pr_views": {
1099
+ "name": "pr_views",
1100
+ "schema": "",
1101
+ "columns": {
1102
+ "pr_id": {
1103
+ "name": "pr_id",
1104
+ "type": "integer",
1105
+ "primaryKey": true,
1106
+ "notNull": true
1107
+ },
1108
+ "last_viewed_sha": {
1109
+ "name": "last_viewed_sha",
1110
+ "type": "text",
1111
+ "primaryKey": false,
1112
+ "notNull": false
1113
+ },
1114
+ "last_viewed_at": {
1115
+ "name": "last_viewed_at",
1116
+ "type": "timestamp with time zone",
1117
+ "primaryKey": false,
1118
+ "notNull": true
1119
+ }
1120
+ },
1121
+ "indexes": {},
1122
+ "foreignKeys": {
1123
+ "pr_views_pr_id_pull_requests_id_fk": {
1124
+ "name": "pr_views_pr_id_pull_requests_id_fk",
1125
+ "tableFrom": "pr_views",
1126
+ "tableTo": "pull_requests",
1127
+ "columnsFrom": [
1128
+ "pr_id"
1129
+ ],
1130
+ "columnsTo": [
1131
+ "id"
1132
+ ],
1133
+ "onDelete": "no action",
1134
+ "onUpdate": "no action"
1135
+ }
1136
+ },
1137
+ "compositePrimaryKeys": {},
1138
+ "uniqueConstraints": {},
1139
+ "policies": {},
1140
+ "checkConstraints": {},
1141
+ "isRLSEnabled": false
1142
+ },
1143
+ "public.pull_requests": {
1144
+ "name": "pull_requests",
1145
+ "schema": "",
1146
+ "columns": {
1147
+ "id": {
1148
+ "name": "id",
1149
+ "type": "serial",
1150
+ "primaryKey": true,
1151
+ "notNull": true
1152
+ },
1153
+ "github_node_id": {
1154
+ "name": "github_node_id",
1155
+ "type": "text",
1156
+ "primaryKey": false,
1157
+ "notNull": true
1158
+ },
1159
+ "account_id": {
1160
+ "name": "account_id",
1161
+ "type": "integer",
1162
+ "primaryKey": false,
1163
+ "notNull": true
1164
+ },
1165
+ "repo_id": {
1166
+ "name": "repo_id",
1167
+ "type": "integer",
1168
+ "primaryKey": false,
1169
+ "notNull": true
1170
+ },
1171
+ "number": {
1172
+ "name": "number",
1173
+ "type": "integer",
1174
+ "primaryKey": false,
1175
+ "notNull": true
1176
+ },
1177
+ "title": {
1178
+ "name": "title",
1179
+ "type": "text",
1180
+ "primaryKey": false,
1181
+ "notNull": true
1182
+ },
1183
+ "body": {
1184
+ "name": "body",
1185
+ "type": "text",
1186
+ "primaryKey": false,
1187
+ "notNull": false
1188
+ },
1189
+ "author_id": {
1190
+ "name": "author_id",
1191
+ "type": "integer",
1192
+ "primaryKey": false,
1193
+ "notNull": false
1194
+ },
1195
+ "merged_by_id": {
1196
+ "name": "merged_by_id",
1197
+ "type": "integer",
1198
+ "primaryKey": false,
1199
+ "notNull": false
1200
+ },
1201
+ "base_ref_name": {
1202
+ "name": "base_ref_name",
1203
+ "type": "text",
1204
+ "primaryKey": false,
1205
+ "notNull": false
1206
+ },
1207
+ "state": {
1208
+ "name": "state",
1209
+ "type": "text",
1210
+ "primaryKey": false,
1211
+ "notNull": true
1212
+ },
1213
+ "is_draft": {
1214
+ "name": "is_draft",
1215
+ "type": "boolean",
1216
+ "primaryKey": false,
1217
+ "notNull": true,
1218
+ "default": false
1219
+ },
1220
+ "opened_at": {
1221
+ "name": "opened_at",
1222
+ "type": "timestamp with time zone",
1223
+ "primaryKey": false,
1224
+ "notNull": true
1225
+ },
1226
+ "first_review_at": {
1227
+ "name": "first_review_at",
1228
+ "type": "timestamp with time zone",
1229
+ "primaryKey": false,
1230
+ "notNull": false
1231
+ },
1232
+ "last_commit_at": {
1233
+ "name": "last_commit_at",
1234
+ "type": "timestamp with time zone",
1235
+ "primaryKey": false,
1236
+ "notNull": false
1237
+ },
1238
+ "merged_at": {
1239
+ "name": "merged_at",
1240
+ "type": "timestamp with time zone",
1241
+ "primaryKey": false,
1242
+ "notNull": false
1243
+ },
1244
+ "closed_at": {
1245
+ "name": "closed_at",
1246
+ "type": "timestamp with time zone",
1247
+ "primaryKey": false,
1248
+ "notNull": false
1249
+ },
1250
+ "updated_at": {
1251
+ "name": "updated_at",
1252
+ "type": "timestamp with time zone",
1253
+ "primaryKey": false,
1254
+ "notNull": true
1255
+ },
1256
+ "head_sha": {
1257
+ "name": "head_sha",
1258
+ "type": "text",
1259
+ "primaryKey": false,
1260
+ "notNull": false
1261
+ },
1262
+ "ci_status": {
1263
+ "name": "ci_status",
1264
+ "type": "text",
1265
+ "primaryKey": false,
1266
+ "notNull": false
1267
+ },
1268
+ "mergeable": {
1269
+ "name": "mergeable",
1270
+ "type": "text",
1271
+ "primaryKey": false,
1272
+ "notNull": false
1273
+ },
1274
+ "merge_state_status": {
1275
+ "name": "merge_state_status",
1276
+ "type": "text",
1277
+ "primaryKey": false,
1278
+ "notNull": false
1279
+ },
1280
+ "labels": {
1281
+ "name": "labels",
1282
+ "type": "jsonb",
1283
+ "primaryKey": false,
1284
+ "notNull": false
1285
+ },
1286
+ "check_runs": {
1287
+ "name": "check_runs",
1288
+ "type": "jsonb",
1289
+ "primaryKey": false,
1290
+ "notNull": false
1291
+ },
1292
+ "additions": {
1293
+ "name": "additions",
1294
+ "type": "integer",
1295
+ "primaryKey": false,
1296
+ "notNull": true,
1297
+ "default": 0
1298
+ },
1299
+ "deletions": {
1300
+ "name": "deletions",
1301
+ "type": "integer",
1302
+ "primaryKey": false,
1303
+ "notNull": true,
1304
+ "default": 0
1305
+ },
1306
+ "changed_files": {
1307
+ "name": "changed_files",
1308
+ "type": "integer",
1309
+ "primaryKey": false,
1310
+ "notNull": true,
1311
+ "default": 0
1312
+ },
1313
+ "files": {
1314
+ "name": "files",
1315
+ "type": "jsonb",
1316
+ "primaryKey": false,
1317
+ "notNull": false
1318
+ }
1319
+ },
1320
+ "indexes": {
1321
+ "pr_repo_idx": {
1322
+ "name": "pr_repo_idx",
1323
+ "columns": [
1324
+ {
1325
+ "expression": "repo_id",
1326
+ "isExpression": false,
1327
+ "asc": true,
1328
+ "nulls": "last"
1329
+ }
1330
+ ],
1331
+ "isUnique": false,
1332
+ "concurrently": false,
1333
+ "method": "btree",
1334
+ "with": {}
1335
+ },
1336
+ "pr_opened_idx": {
1337
+ "name": "pr_opened_idx",
1338
+ "columns": [
1339
+ {
1340
+ "expression": "opened_at",
1341
+ "isExpression": false,
1342
+ "asc": true,
1343
+ "nulls": "last"
1344
+ }
1345
+ ],
1346
+ "isUnique": false,
1347
+ "concurrently": false,
1348
+ "method": "btree",
1349
+ "with": {}
1350
+ },
1351
+ "pr_account_idx": {
1352
+ "name": "pr_account_idx",
1353
+ "columns": [
1354
+ {
1355
+ "expression": "account_id",
1356
+ "isExpression": false,
1357
+ "asc": true,
1358
+ "nulls": "last"
1359
+ }
1360
+ ],
1361
+ "isUnique": false,
1362
+ "concurrently": false,
1363
+ "method": "btree",
1364
+ "with": {}
1365
+ },
1366
+ "pr_account_node": {
1367
+ "name": "pr_account_node",
1368
+ "columns": [
1369
+ {
1370
+ "expression": "account_id",
1371
+ "isExpression": false,
1372
+ "asc": true,
1373
+ "nulls": "last"
1374
+ },
1375
+ {
1376
+ "expression": "github_node_id",
1377
+ "isExpression": false,
1378
+ "asc": true,
1379
+ "nulls": "last"
1380
+ }
1381
+ ],
1382
+ "isUnique": true,
1383
+ "concurrently": false,
1384
+ "method": "btree",
1385
+ "with": {}
1386
+ }
1387
+ },
1388
+ "foreignKeys": {
1389
+ "pull_requests_account_id_accounts_id_fk": {
1390
+ "name": "pull_requests_account_id_accounts_id_fk",
1391
+ "tableFrom": "pull_requests",
1392
+ "tableTo": "accounts",
1393
+ "columnsFrom": [
1394
+ "account_id"
1395
+ ],
1396
+ "columnsTo": [
1397
+ "id"
1398
+ ],
1399
+ "onDelete": "no action",
1400
+ "onUpdate": "no action"
1401
+ },
1402
+ "pull_requests_repo_id_repos_id_fk": {
1403
+ "name": "pull_requests_repo_id_repos_id_fk",
1404
+ "tableFrom": "pull_requests",
1405
+ "tableTo": "repos",
1406
+ "columnsFrom": [
1407
+ "repo_id"
1408
+ ],
1409
+ "columnsTo": [
1410
+ "id"
1411
+ ],
1412
+ "onDelete": "no action",
1413
+ "onUpdate": "no action"
1414
+ },
1415
+ "pull_requests_author_id_users_id_fk": {
1416
+ "name": "pull_requests_author_id_users_id_fk",
1417
+ "tableFrom": "pull_requests",
1418
+ "tableTo": "users",
1419
+ "columnsFrom": [
1420
+ "author_id"
1421
+ ],
1422
+ "columnsTo": [
1423
+ "id"
1424
+ ],
1425
+ "onDelete": "no action",
1426
+ "onUpdate": "no action"
1427
+ },
1428
+ "pull_requests_merged_by_id_users_id_fk": {
1429
+ "name": "pull_requests_merged_by_id_users_id_fk",
1430
+ "tableFrom": "pull_requests",
1431
+ "tableTo": "users",
1432
+ "columnsFrom": [
1433
+ "merged_by_id"
1434
+ ],
1435
+ "columnsTo": [
1436
+ "id"
1437
+ ],
1438
+ "onDelete": "no action",
1439
+ "onUpdate": "no action"
1440
+ }
1441
+ },
1442
+ "compositePrimaryKeys": {},
1443
+ "uniqueConstraints": {},
1444
+ "policies": {},
1445
+ "checkConstraints": {},
1446
+ "isRLSEnabled": false
1447
+ },
1448
+ "public.repos": {
1449
+ "name": "repos",
1450
+ "schema": "",
1451
+ "columns": {
1452
+ "id": {
1453
+ "name": "id",
1454
+ "type": "serial",
1455
+ "primaryKey": true,
1456
+ "notNull": true
1457
+ },
1458
+ "account_id": {
1459
+ "name": "account_id",
1460
+ "type": "integer",
1461
+ "primaryKey": false,
1462
+ "notNull": true
1463
+ },
1464
+ "owner": {
1465
+ "name": "owner",
1466
+ "type": "text",
1467
+ "primaryKey": false,
1468
+ "notNull": true
1469
+ },
1470
+ "name": {
1471
+ "name": "name",
1472
+ "type": "text",
1473
+ "primaryKey": false,
1474
+ "notNull": true
1475
+ },
1476
+ "github_node_id": {
1477
+ "name": "github_node_id",
1478
+ "type": "text",
1479
+ "primaryKey": false,
1480
+ "notNull": true
1481
+ },
1482
+ "default_branch": {
1483
+ "name": "default_branch",
1484
+ "type": "text",
1485
+ "primaryKey": false,
1486
+ "notNull": false
1487
+ },
1488
+ "viewer_permission": {
1489
+ "name": "viewer_permission",
1490
+ "type": "text",
1491
+ "primaryKey": false,
1492
+ "notNull": false
1493
+ },
1494
+ "backfill_until": {
1495
+ "name": "backfill_until",
1496
+ "type": "timestamp with time zone",
1497
+ "primaryKey": false,
1498
+ "notNull": false
1499
+ },
1500
+ "inbox_watch": {
1501
+ "name": "inbox_watch",
1502
+ "type": "boolean",
1503
+ "primaryKey": false,
1504
+ "notNull": true,
1505
+ "default": false
1506
+ },
1507
+ "inbox_watch_started_at": {
1508
+ "name": "inbox_watch_started_at",
1509
+ "type": "timestamp with time zone",
1510
+ "primaryKey": false,
1511
+ "notNull": false
1512
+ },
1513
+ "created_at": {
1514
+ "name": "created_at",
1515
+ "type": "timestamp with time zone",
1516
+ "primaryKey": false,
1517
+ "notNull": true,
1518
+ "default": "now()"
1519
+ }
1520
+ },
1521
+ "indexes": {
1522
+ "repos_account_owner_name": {
1523
+ "name": "repos_account_owner_name",
1524
+ "columns": [
1525
+ {
1526
+ "expression": "account_id",
1527
+ "isExpression": false,
1528
+ "asc": true,
1529
+ "nulls": "last"
1530
+ },
1531
+ {
1532
+ "expression": "owner",
1533
+ "isExpression": false,
1534
+ "asc": true,
1535
+ "nulls": "last"
1536
+ },
1537
+ {
1538
+ "expression": "name",
1539
+ "isExpression": false,
1540
+ "asc": true,
1541
+ "nulls": "last"
1542
+ }
1543
+ ],
1544
+ "isUnique": true,
1545
+ "concurrently": false,
1546
+ "method": "btree",
1547
+ "with": {}
1548
+ },
1549
+ "repos_account_node": {
1550
+ "name": "repos_account_node",
1551
+ "columns": [
1552
+ {
1553
+ "expression": "account_id",
1554
+ "isExpression": false,
1555
+ "asc": true,
1556
+ "nulls": "last"
1557
+ },
1558
+ {
1559
+ "expression": "github_node_id",
1560
+ "isExpression": false,
1561
+ "asc": true,
1562
+ "nulls": "last"
1563
+ }
1564
+ ],
1565
+ "isUnique": true,
1566
+ "concurrently": false,
1567
+ "method": "btree",
1568
+ "with": {}
1569
+ },
1570
+ "repos_account_idx": {
1571
+ "name": "repos_account_idx",
1572
+ "columns": [
1573
+ {
1574
+ "expression": "account_id",
1575
+ "isExpression": false,
1576
+ "asc": true,
1577
+ "nulls": "last"
1578
+ }
1579
+ ],
1580
+ "isUnique": false,
1581
+ "concurrently": false,
1582
+ "method": "btree",
1583
+ "with": {}
1584
+ }
1585
+ },
1586
+ "foreignKeys": {
1587
+ "repos_account_id_accounts_id_fk": {
1588
+ "name": "repos_account_id_accounts_id_fk",
1589
+ "tableFrom": "repos",
1590
+ "tableTo": "accounts",
1591
+ "columnsFrom": [
1592
+ "account_id"
1593
+ ],
1594
+ "columnsTo": [
1595
+ "id"
1596
+ ],
1597
+ "onDelete": "no action",
1598
+ "onUpdate": "no action"
1599
+ }
1600
+ },
1601
+ "compositePrimaryKeys": {},
1602
+ "uniqueConstraints": {},
1603
+ "policies": {},
1604
+ "checkConstraints": {},
1605
+ "isRLSEnabled": false
1606
+ },
1607
+ "public.review_comments": {
1608
+ "name": "review_comments",
1609
+ "schema": "",
1610
+ "columns": {
1611
+ "id": {
1612
+ "name": "id",
1613
+ "type": "serial",
1614
+ "primaryKey": true,
1615
+ "notNull": true
1616
+ },
1617
+ "github_node_id": {
1618
+ "name": "github_node_id",
1619
+ "type": "text",
1620
+ "primaryKey": false,
1621
+ "notNull": true
1622
+ },
1623
+ "thread_id": {
1624
+ "name": "thread_id",
1625
+ "type": "integer",
1626
+ "primaryKey": false,
1627
+ "notNull": true
1628
+ },
1629
+ "pr_id": {
1630
+ "name": "pr_id",
1631
+ "type": "integer",
1632
+ "primaryKey": false,
1633
+ "notNull": true
1634
+ },
1635
+ "author_id": {
1636
+ "name": "author_id",
1637
+ "type": "integer",
1638
+ "primaryKey": false,
1639
+ "notNull": false
1640
+ },
1641
+ "body": {
1642
+ "name": "body",
1643
+ "type": "text",
1644
+ "primaryKey": false,
1645
+ "notNull": false
1646
+ },
1647
+ "excerpt": {
1648
+ "name": "excerpt",
1649
+ "type": "text",
1650
+ "primaryKey": false,
1651
+ "notNull": false
1652
+ },
1653
+ "diff_hunk": {
1654
+ "name": "diff_hunk",
1655
+ "type": "text",
1656
+ "primaryKey": false,
1657
+ "notNull": false
1658
+ },
1659
+ "database_id": {
1660
+ "name": "database_id",
1661
+ "type": "text",
1662
+ "primaryKey": false,
1663
+ "notNull": false
1664
+ },
1665
+ "created_at": {
1666
+ "name": "created_at",
1667
+ "type": "timestamp with time zone",
1668
+ "primaryKey": false,
1669
+ "notNull": true
1670
+ }
1671
+ },
1672
+ "indexes": {
1673
+ "rc_thread_idx": {
1674
+ "name": "rc_thread_idx",
1675
+ "columns": [
1676
+ {
1677
+ "expression": "thread_id",
1678
+ "isExpression": false,
1679
+ "asc": true,
1680
+ "nulls": "last"
1681
+ }
1682
+ ],
1683
+ "isUnique": false,
1684
+ "concurrently": false,
1685
+ "method": "btree",
1686
+ "with": {}
1687
+ },
1688
+ "rc_pr_node": {
1689
+ "name": "rc_pr_node",
1690
+ "columns": [
1691
+ {
1692
+ "expression": "pr_id",
1693
+ "isExpression": false,
1694
+ "asc": true,
1695
+ "nulls": "last"
1696
+ },
1697
+ {
1698
+ "expression": "github_node_id",
1699
+ "isExpression": false,
1700
+ "asc": true,
1701
+ "nulls": "last"
1702
+ }
1703
+ ],
1704
+ "isUnique": true,
1705
+ "concurrently": false,
1706
+ "method": "btree",
1707
+ "with": {}
1708
+ }
1709
+ },
1710
+ "foreignKeys": {
1711
+ "review_comments_thread_id_review_threads_id_fk": {
1712
+ "name": "review_comments_thread_id_review_threads_id_fk",
1713
+ "tableFrom": "review_comments",
1714
+ "tableTo": "review_threads",
1715
+ "columnsFrom": [
1716
+ "thread_id"
1717
+ ],
1718
+ "columnsTo": [
1719
+ "id"
1720
+ ],
1721
+ "onDelete": "no action",
1722
+ "onUpdate": "no action"
1723
+ },
1724
+ "review_comments_pr_id_pull_requests_id_fk": {
1725
+ "name": "review_comments_pr_id_pull_requests_id_fk",
1726
+ "tableFrom": "review_comments",
1727
+ "tableTo": "pull_requests",
1728
+ "columnsFrom": [
1729
+ "pr_id"
1730
+ ],
1731
+ "columnsTo": [
1732
+ "id"
1733
+ ],
1734
+ "onDelete": "no action",
1735
+ "onUpdate": "no action"
1736
+ },
1737
+ "review_comments_author_id_users_id_fk": {
1738
+ "name": "review_comments_author_id_users_id_fk",
1739
+ "tableFrom": "review_comments",
1740
+ "tableTo": "users",
1741
+ "columnsFrom": [
1742
+ "author_id"
1743
+ ],
1744
+ "columnsTo": [
1745
+ "id"
1746
+ ],
1747
+ "onDelete": "no action",
1748
+ "onUpdate": "no action"
1749
+ }
1750
+ },
1751
+ "compositePrimaryKeys": {},
1752
+ "uniqueConstraints": {},
1753
+ "policies": {},
1754
+ "checkConstraints": {},
1755
+ "isRLSEnabled": false
1756
+ },
1757
+ "public.review_requests": {
1758
+ "name": "review_requests",
1759
+ "schema": "",
1760
+ "columns": {
1761
+ "id": {
1762
+ "name": "id",
1763
+ "type": "serial",
1764
+ "primaryKey": true,
1765
+ "notNull": true
1766
+ },
1767
+ "pr_id": {
1768
+ "name": "pr_id",
1769
+ "type": "integer",
1770
+ "primaryKey": false,
1771
+ "notNull": true
1772
+ },
1773
+ "user_id": {
1774
+ "name": "user_id",
1775
+ "type": "integer",
1776
+ "primaryKey": false,
1777
+ "notNull": false
1778
+ },
1779
+ "team_name": {
1780
+ "name": "team_name",
1781
+ "type": "text",
1782
+ "primaryKey": false,
1783
+ "notNull": false
1784
+ }
1785
+ },
1786
+ "indexes": {
1787
+ "rr_pr_idx": {
1788
+ "name": "rr_pr_idx",
1789
+ "columns": [
1790
+ {
1791
+ "expression": "pr_id",
1792
+ "isExpression": false,
1793
+ "asc": true,
1794
+ "nulls": "last"
1795
+ }
1796
+ ],
1797
+ "isUnique": false,
1798
+ "concurrently": false,
1799
+ "method": "btree",
1800
+ "with": {}
1801
+ },
1802
+ "rr_user_idx": {
1803
+ "name": "rr_user_idx",
1804
+ "columns": [
1805
+ {
1806
+ "expression": "user_id",
1807
+ "isExpression": false,
1808
+ "asc": true,
1809
+ "nulls": "last"
1810
+ }
1811
+ ],
1812
+ "isUnique": false,
1813
+ "concurrently": false,
1814
+ "method": "btree",
1815
+ "with": {}
1816
+ }
1817
+ },
1818
+ "foreignKeys": {
1819
+ "review_requests_pr_id_pull_requests_id_fk": {
1820
+ "name": "review_requests_pr_id_pull_requests_id_fk",
1821
+ "tableFrom": "review_requests",
1822
+ "tableTo": "pull_requests",
1823
+ "columnsFrom": [
1824
+ "pr_id"
1825
+ ],
1826
+ "columnsTo": [
1827
+ "id"
1828
+ ],
1829
+ "onDelete": "no action",
1830
+ "onUpdate": "no action"
1831
+ },
1832
+ "review_requests_user_id_users_id_fk": {
1833
+ "name": "review_requests_user_id_users_id_fk",
1834
+ "tableFrom": "review_requests",
1835
+ "tableTo": "users",
1836
+ "columnsFrom": [
1837
+ "user_id"
1838
+ ],
1839
+ "columnsTo": [
1840
+ "id"
1841
+ ],
1842
+ "onDelete": "no action",
1843
+ "onUpdate": "no action"
1844
+ }
1845
+ },
1846
+ "compositePrimaryKeys": {},
1847
+ "uniqueConstraints": {},
1848
+ "policies": {},
1849
+ "checkConstraints": {},
1850
+ "isRLSEnabled": false
1851
+ },
1852
+ "public.review_threads": {
1853
+ "name": "review_threads",
1854
+ "schema": "",
1855
+ "columns": {
1856
+ "id": {
1857
+ "name": "id",
1858
+ "type": "serial",
1859
+ "primaryKey": true,
1860
+ "notNull": true
1861
+ },
1862
+ "github_node_id": {
1863
+ "name": "github_node_id",
1864
+ "type": "text",
1865
+ "primaryKey": false,
1866
+ "notNull": true
1867
+ },
1868
+ "pr_id": {
1869
+ "name": "pr_id",
1870
+ "type": "integer",
1871
+ "primaryKey": false,
1872
+ "notNull": true
1873
+ },
1874
+ "path": {
1875
+ "name": "path",
1876
+ "type": "text",
1877
+ "primaryKey": false,
1878
+ "notNull": true
1879
+ },
1880
+ "line": {
1881
+ "name": "line",
1882
+ "type": "integer",
1883
+ "primaryKey": false,
1884
+ "notNull": false
1885
+ },
1886
+ "is_resolved": {
1887
+ "name": "is_resolved",
1888
+ "type": "boolean",
1889
+ "primaryKey": false,
1890
+ "notNull": true
1891
+ },
1892
+ "is_outdated": {
1893
+ "name": "is_outdated",
1894
+ "type": "boolean",
1895
+ "primaryKey": false,
1896
+ "notNull": true,
1897
+ "default": false
1898
+ },
1899
+ "derived_state": {
1900
+ "name": "derived_state",
1901
+ "type": "text",
1902
+ "primaryKey": false,
1903
+ "notNull": true
1904
+ },
1905
+ "original_commenter_id": {
1906
+ "name": "original_commenter_id",
1907
+ "type": "integer",
1908
+ "primaryKey": false,
1909
+ "notNull": false
1910
+ },
1911
+ "created_at": {
1912
+ "name": "created_at",
1913
+ "type": "timestamp with time zone",
1914
+ "primaryKey": false,
1915
+ "notNull": true
1916
+ }
1917
+ },
1918
+ "indexes": {
1919
+ "thread_pr_idx": {
1920
+ "name": "thread_pr_idx",
1921
+ "columns": [
1922
+ {
1923
+ "expression": "pr_id",
1924
+ "isExpression": false,
1925
+ "asc": true,
1926
+ "nulls": "last"
1927
+ }
1928
+ ],
1929
+ "isUnique": false,
1930
+ "concurrently": false,
1931
+ "method": "btree",
1932
+ "with": {}
1933
+ },
1934
+ "thread_pr_node": {
1935
+ "name": "thread_pr_node",
1936
+ "columns": [
1937
+ {
1938
+ "expression": "pr_id",
1939
+ "isExpression": false,
1940
+ "asc": true,
1941
+ "nulls": "last"
1942
+ },
1943
+ {
1944
+ "expression": "github_node_id",
1945
+ "isExpression": false,
1946
+ "asc": true,
1947
+ "nulls": "last"
1948
+ }
1949
+ ],
1950
+ "isUnique": true,
1951
+ "concurrently": false,
1952
+ "method": "btree",
1953
+ "with": {}
1954
+ }
1955
+ },
1956
+ "foreignKeys": {
1957
+ "review_threads_pr_id_pull_requests_id_fk": {
1958
+ "name": "review_threads_pr_id_pull_requests_id_fk",
1959
+ "tableFrom": "review_threads",
1960
+ "tableTo": "pull_requests",
1961
+ "columnsFrom": [
1962
+ "pr_id"
1963
+ ],
1964
+ "columnsTo": [
1965
+ "id"
1966
+ ],
1967
+ "onDelete": "no action",
1968
+ "onUpdate": "no action"
1969
+ },
1970
+ "review_threads_original_commenter_id_users_id_fk": {
1971
+ "name": "review_threads_original_commenter_id_users_id_fk",
1972
+ "tableFrom": "review_threads",
1973
+ "tableTo": "users",
1974
+ "columnsFrom": [
1975
+ "original_commenter_id"
1976
+ ],
1977
+ "columnsTo": [
1978
+ "id"
1979
+ ],
1980
+ "onDelete": "no action",
1981
+ "onUpdate": "no action"
1982
+ }
1983
+ },
1984
+ "compositePrimaryKeys": {},
1985
+ "uniqueConstraints": {},
1986
+ "policies": {},
1987
+ "checkConstraints": {},
1988
+ "isRLSEnabled": false
1989
+ },
1990
+ "public.reviews": {
1991
+ "name": "reviews",
1992
+ "schema": "",
1993
+ "columns": {
1994
+ "id": {
1995
+ "name": "id",
1996
+ "type": "serial",
1997
+ "primaryKey": true,
1998
+ "notNull": true
1999
+ },
2000
+ "github_node_id": {
2001
+ "name": "github_node_id",
2002
+ "type": "text",
2003
+ "primaryKey": false,
2004
+ "notNull": true
2005
+ },
2006
+ "pr_id": {
2007
+ "name": "pr_id",
2008
+ "type": "integer",
2009
+ "primaryKey": false,
2010
+ "notNull": true
2011
+ },
2012
+ "author_id": {
2013
+ "name": "author_id",
2014
+ "type": "integer",
2015
+ "primaryKey": false,
2016
+ "notNull": false
2017
+ },
2018
+ "state": {
2019
+ "name": "state",
2020
+ "type": "text",
2021
+ "primaryKey": false,
2022
+ "notNull": true
2023
+ },
2024
+ "body": {
2025
+ "name": "body",
2026
+ "type": "text",
2027
+ "primaryKey": false,
2028
+ "notNull": false
2029
+ },
2030
+ "database_id": {
2031
+ "name": "database_id",
2032
+ "type": "text",
2033
+ "primaryKey": false,
2034
+ "notNull": false
2035
+ },
2036
+ "submitted_at": {
2037
+ "name": "submitted_at",
2038
+ "type": "timestamp with time zone",
2039
+ "primaryKey": false,
2040
+ "notNull": true
2041
+ }
2042
+ },
2043
+ "indexes": {
2044
+ "rv_pr_idx": {
2045
+ "name": "rv_pr_idx",
2046
+ "columns": [
2047
+ {
2048
+ "expression": "pr_id",
2049
+ "isExpression": false,
2050
+ "asc": true,
2051
+ "nulls": "last"
2052
+ }
2053
+ ],
2054
+ "isUnique": false,
2055
+ "concurrently": false,
2056
+ "method": "btree",
2057
+ "with": {}
2058
+ },
2059
+ "reviews_pr_node": {
2060
+ "name": "reviews_pr_node",
2061
+ "columns": [
2062
+ {
2063
+ "expression": "pr_id",
2064
+ "isExpression": false,
2065
+ "asc": true,
2066
+ "nulls": "last"
2067
+ },
2068
+ {
2069
+ "expression": "github_node_id",
2070
+ "isExpression": false,
2071
+ "asc": true,
2072
+ "nulls": "last"
2073
+ }
2074
+ ],
2075
+ "isUnique": true,
2076
+ "concurrently": false,
2077
+ "method": "btree",
2078
+ "with": {}
2079
+ }
2080
+ },
2081
+ "foreignKeys": {
2082
+ "reviews_pr_id_pull_requests_id_fk": {
2083
+ "name": "reviews_pr_id_pull_requests_id_fk",
2084
+ "tableFrom": "reviews",
2085
+ "tableTo": "pull_requests",
2086
+ "columnsFrom": [
2087
+ "pr_id"
2088
+ ],
2089
+ "columnsTo": [
2090
+ "id"
2091
+ ],
2092
+ "onDelete": "no action",
2093
+ "onUpdate": "no action"
2094
+ },
2095
+ "reviews_author_id_users_id_fk": {
2096
+ "name": "reviews_author_id_users_id_fk",
2097
+ "tableFrom": "reviews",
2098
+ "tableTo": "users",
2099
+ "columnsFrom": [
2100
+ "author_id"
2101
+ ],
2102
+ "columnsTo": [
2103
+ "id"
2104
+ ],
2105
+ "onDelete": "no action",
2106
+ "onUpdate": "no action"
2107
+ }
2108
+ },
2109
+ "compositePrimaryKeys": {},
2110
+ "uniqueConstraints": {},
2111
+ "policies": {},
2112
+ "checkConstraints": {},
2113
+ "isRLSEnabled": false
2114
+ },
2115
+ "public.sync_state": {
2116
+ "name": "sync_state",
2117
+ "schema": "",
2118
+ "columns": {
2119
+ "repo_id": {
2120
+ "name": "repo_id",
2121
+ "type": "integer",
2122
+ "primaryKey": true,
2123
+ "notNull": true
2124
+ },
2125
+ "last_full_sync_at": {
2126
+ "name": "last_full_sync_at",
2127
+ "type": "timestamp with time zone",
2128
+ "primaryKey": false,
2129
+ "notNull": false
2130
+ },
2131
+ "last_incremental_sync_at": {
2132
+ "name": "last_incremental_sync_at",
2133
+ "type": "timestamp with time zone",
2134
+ "primaryKey": false,
2135
+ "notNull": false
2136
+ },
2137
+ "last_sync_status": {
2138
+ "name": "last_sync_status",
2139
+ "type": "text",
2140
+ "primaryKey": false,
2141
+ "notNull": false
2142
+ },
2143
+ "last_sync_error": {
2144
+ "name": "last_sync_error",
2145
+ "type": "text",
2146
+ "primaryKey": false,
2147
+ "notNull": false
2148
+ }
2149
+ },
2150
+ "indexes": {},
2151
+ "foreignKeys": {
2152
+ "sync_state_repo_id_repos_id_fk": {
2153
+ "name": "sync_state_repo_id_repos_id_fk",
2154
+ "tableFrom": "sync_state",
2155
+ "tableTo": "repos",
2156
+ "columnsFrom": [
2157
+ "repo_id"
2158
+ ],
2159
+ "columnsTo": [
2160
+ "id"
2161
+ ],
2162
+ "onDelete": "no action",
2163
+ "onUpdate": "no action"
2164
+ }
2165
+ },
2166
+ "compositePrimaryKeys": {},
2167
+ "uniqueConstraints": {},
2168
+ "policies": {},
2169
+ "checkConstraints": {},
2170
+ "isRLSEnabled": false
2171
+ },
2172
+ "public.users": {
2173
+ "name": "users",
2174
+ "schema": "",
2175
+ "columns": {
2176
+ "id": {
2177
+ "name": "id",
2178
+ "type": "serial",
2179
+ "primaryKey": true,
2180
+ "notNull": true
2181
+ },
2182
+ "github_login": {
2183
+ "name": "github_login",
2184
+ "type": "text",
2185
+ "primaryKey": false,
2186
+ "notNull": true
2187
+ },
2188
+ "github_node_id": {
2189
+ "name": "github_node_id",
2190
+ "type": "text",
2191
+ "primaryKey": false,
2192
+ "notNull": false
2193
+ },
2194
+ "display_name": {
2195
+ "name": "display_name",
2196
+ "type": "text",
2197
+ "primaryKey": false,
2198
+ "notNull": false
2199
+ },
2200
+ "avatar_url": {
2201
+ "name": "avatar_url",
2202
+ "type": "text",
2203
+ "primaryKey": false,
2204
+ "notNull": false
2205
+ },
2206
+ "is_bot": {
2207
+ "name": "is_bot",
2208
+ "type": "boolean",
2209
+ "primaryKey": false,
2210
+ "notNull": true,
2211
+ "default": false
2212
+ },
2213
+ "is_bot_overridden": {
2214
+ "name": "is_bot_overridden",
2215
+ "type": "boolean",
2216
+ "primaryKey": false,
2217
+ "notNull": true,
2218
+ "default": false
2219
+ }
2220
+ },
2221
+ "indexes": {},
2222
+ "foreignKeys": {},
2223
+ "compositePrimaryKeys": {},
2224
+ "uniqueConstraints": {
2225
+ "users_github_login_unique": {
2226
+ "name": "users_github_login_unique",
2227
+ "nullsNotDistinct": false,
2228
+ "columns": [
2229
+ "github_login"
2230
+ ]
2231
+ },
2232
+ "users_github_node_id_unique": {
2233
+ "name": "users_github_node_id_unique",
2234
+ "nullsNotDistinct": false,
2235
+ "columns": [
2236
+ "github_node_id"
2237
+ ]
2238
+ }
2239
+ },
2240
+ "policies": {},
2241
+ "checkConstraints": {},
2242
+ "isRLSEnabled": false
2243
+ }
2244
+ },
2245
+ "enums": {},
2246
+ "schemas": {},
2247
+ "sequences": {},
2248
+ "roles": {},
2249
+ "policies": {},
2250
+ "views": {},
2251
+ "_meta": {
2252
+ "columns": {},
2253
+ "schemas": {},
2254
+ "tables": {}
2255
+ }
2256
+ }