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