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