@sentry/junior 0.314.0 → 0.316.0

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 (667) hide show
  1. package/dist/{channel-access-BOL29BG3.js → adapter-context-Bref7aPI.js} +42 -3
  2. package/dist/{admin-BXGAySz0.js → admin-QYiDMnsu.js} +1 -1
  3. package/dist/agent-runner-Cr5Fhjf-.js +23870 -0
  4. package/dist/{agent-update-delivery-CZ5M8RDa.js → agent-update-delivery-BY13DPSD.js} +46 -9
  5. package/dist/api/schema.d.ts +9549 -2
  6. package/dist/api/schema.js +4 -6
  7. package/dist/api.d.ts +2 -3
  8. package/dist/api.js +747 -293
  9. package/dist/{app-D7tKnw9a.d.ts → app-BhvzRD__.d.ts} +314 -29
  10. package/dist/app.d.ts +1 -1
  11. package/dist/app.js +268 -58
  12. package/dist/change-record-Bqsa5ZXE.d.ts +175 -0
  13. package/dist/chat-core-engine-3dtlMku3.js +123 -0
  14. package/dist/cli/chat.d.ts +4 -1
  15. package/dist/cli/chat.js +39 -21
  16. package/dist/cli/check.js +4 -4
  17. package/dist/cli/main.js +2 -2
  18. package/dist/cli/plugins.js +3 -4
  19. package/dist/cli/run.d.ts +1 -1
  20. package/dist/cli/run.js +1 -1
  21. package/dist/cli/snapshot-create.js +2 -5
  22. package/dist/cli/upgrade.d.ts +1 -1
  23. package/dist/cli/upgrade.js +46 -74
  24. package/dist/{continue-in-slack-fnmD2Ifb.js → continue-in-slack-DbQUFe_F.js} +3 -5
  25. package/dist/{conversation-feed-DdFQuQDR.js → conversation-feed-B84pMjHo.js} +28 -3
  26. package/dist/{conversation-turn-DScuDYmN.js → conversation-turn-DzEpTIaf.js} +152 -199
  27. package/dist/{create-CrNt4Ewu.js → create-DUJBXr6E.js} +4 -4
  28. package/dist/{credential-sync-CtqsGjj1.js → credential-sync-JH_K9Adg.js} +10 -15
  29. package/dist/db-BpxcYXfD.d.ts +2 -0
  30. package/dist/{credentialed-dWRA3-oJ.js → db-DhzvUY23.js} +21830 -9264
  31. package/dist/deployment-BhvrhQeh.js +51 -0
  32. package/dist/engine-context-C9Nal48K.js +1814 -0
  33. package/dist/{html-B8rBt7F4.js → html-B_12WjKT.js} +2 -5
  34. package/dist/instrumentation.js +2 -2
  35. package/dist/job-runner-DO8nslyY.js +1139 -0
  36. package/dist/{lineage-EULJkGO1.js → lineage-D3AZAJVe.js} +1 -1
  37. package/dist/{list-C5400AlJ.js → list-B0zsb5Cp.js} +307 -146
  38. package/dist/{markers-DUP8aBOp.js → list-mkB_GU8R.js} +96 -124
  39. package/dist/local-server-CpnGhYml.js +276 -0
  40. package/dist/{conversation-privacy-DtZhI91r.js → logging-B8KEJegM.js} +2 -231
  41. package/dist/{media-FYM-Bl3H.js → media-BebquhET.js} +684 -37
  42. package/dist/{message-DuDelZFr.js → message-B5fKDYzz.js} +18 -16
  43. package/dist/{model-input-0osF3pBS.js → model-input-CuMWy37l.js} +3 -3
  44. package/dist/nitro.d.ts +7 -1
  45. package/dist/nitro.js +48 -293
  46. package/dist/{oauth-callback-server-DX2fQ7Nq.js → oauth-callback-server-B3Vvlydo.js} +2 -2
  47. package/dist/{oauth-relay-PwPMdZJv.js → oauth-relay-6ERrGPbA.js} +1 -1
  48. package/dist/{package-discovery-DD9vencX.js → package-discovery-BI6T_RkD.js} +50 -1
  49. package/dist/people-CUtFApfL.js +81 -0
  50. package/dist/proxy-path-BTmXDjfx.js +203 -0
  51. package/dist/{resolve-D8CPJcNK.js → resolve-D5JVvv6A.js} +229 -4
  52. package/dist/{result-D090hxr5.js → result-CS_7mo8a.js} +95 -144
  53. package/dist/{runner-BU7fgrm-.js → runner-BzAES5W3.js} +7 -7
  54. package/dist/{sandbox-egress-signals-BUmVrsoG.js → sandbox-egress-signals-Dwhk2Q5F.js} +1 -1
  55. package/dist/{schema-7gW9vBpJ.js → schema-z5-wA6N4.js} +132 -15
  56. package/dist/{service-account-plA-uzIB.js → service-account-D6AsAtc1.js} +1 -3
  57. package/dist/{mailbox-turn-DL3Lvsm0.js → session-stop-DponjDUZ.js} +3259 -3793
  58. package/dist/{skills-CIosT6bS.js → skills-DgJ9GBPR.js} +4 -4
  59. package/dist/{slack-conversation-unfurl-CBgZqth6.js → slack-conversation-unfurl-Dq71EkhM.js} +6 -8
  60. package/dist/{spawn-DRjdzh3R.js → spawn-BJWpdwhQ.js} +4 -5
  61. package/dist/start-conversation-B-LIqqNi.js +162 -0
  62. package/dist/system-prompt-table-iIgpmslr.js +1171 -0
  63. package/dist/{task-runner-C-pXsgHM.js → task-runner-BJae4JwE.js} +83 -17
  64. package/dist/{thread-context-CDX4dSZd.js → thread-context-fiMNylbg.js} +5 -6
  65. package/dist/topic-CRYYBYp-.js +7 -0
  66. package/dist/transcript-CCi7323k.js +410 -0
  67. package/dist/turn-session-routing-D15orfwy.js +1309 -0
  68. package/dist/{turn-wake-Bzq1Efrm.js → turn-wake-BjDW7x-5.js} +5 -7
  69. package/dist/{validation-bTq88sya.js → validation-D5WmmmhX.js} +1 -1
  70. package/dist/{version-DGUa1dZK.js → version-CBQoanXb.js} +1 -1
  71. package/dist/version.js +1 -1
  72. package/dist/virtual-module-BeKA_EII.js +12 -0
  73. package/dist/{worker-AkZg7Dg1.js → worker-Cyb4kF17.js} +3 -5
  74. package/migrations/20260711145847_initial/snapshot.json +2103 -0
  75. package/migrations/20260711145900_conversation_metrics/snapshot.json +135 -0
  76. package/migrations/20260712153649_conversation_message_search/snapshot.json +50 -0
  77. package/migrations/20260713040256_peaceful_scalphunter/snapshot.json +42 -0
  78. package/migrations/20260715174202_useful_magus/snapshot.json +42 -0
  79. package/migrations/20260715174203_conversation_events/snapshot.json +539 -0
  80. package/migrations/20260723042835_drop_legacy_conversation_messages/snapshot.json +9 -0
  81. package/migrations/20260723050612_thick_sugar_man/snapshot.json +120 -0
  82. package/migrations/20260727223822_sticky_rage/snapshot.json +274 -0
  83. package/migrations/20260728033158_slippery_harrier/snapshot.json +191 -0
  84. package/migrations/20260728040836_native_conversation_history/snapshot.json +9 -0
  85. package/migrations/20260728204900_sour_golden_guardian/snapshot.json +124 -0
  86. package/migrations/20260730233332_structured_conversation_events/snapshot.json +9 -0
  87. package/migrations/20260731164038_conversation_session_source/snapshot.json +42 -0
  88. package/migrations/20260801230336_source_visibility/snapshot.json +9 -0
  89. package/migrations/20260802023731_magical_ezekiel_stane/snapshot.json +266 -0
  90. package/migrations/20260804015843_neat_the_anarchist/snapshot.json +714 -0
  91. package/migrations/20260804165952_drop_paused_scheduled_tasks/snapshot.json +9 -0
  92. package/migrations/20260804225613_curvy_excalibur/snapshot.json +223 -0
  93. package/migrations/20260805174033_lowly_valkyrie/snapshot.json +344 -0
  94. package/migrations/20260805200301_restrict_task_execution_kinds/snapshot.json +36 -0
  95. package/migrations/20260806030729_first_warhawk/snapshot.json +690 -0
  96. package/migrations/20260807185200_task_execution_status/snapshot.json +92 -0
  97. package/migrations/20260808014743_task_title_columns/snapshot.json +68 -0
  98. package/migrations/20260809220421_misty_typhoid_mary/snapshot.json +191 -0
  99. package/migrations/20260811193709_mcp_credential_subject/snapshot.json +9 -0
  100. package/migrations/20260812032924_conversation_event_actor_and_participants/snapshot.json +393 -0
  101. package/migrations/20260812172418_attachment_storage/snapshot.json +341 -0
  102. package/migrations/20260813230732_artifacts/snapshot.json +349 -0
  103. package/migrations/20260814062905_dizzy_barracuda/snapshot.json +342 -0
  104. package/migrations/20260814231353_drop_workspace_repo_primary/snapshot.json +55 -0
  105. package/migrations/20260815030100_wild_phantom_reporter/snapshot.json +135 -0
  106. package/migrations/20260817082233_workspace_snapshots_table/snapshot.json +625 -0
  107. package/migrations/20260818160339_workspace_snapshot_active_build/snapshot.json +62 -0
  108. package/migrations/20260821180755_strong_randall/snapshot.json +42 -0
  109. package/migrations/20260823030308_workspace_snapshot_size_bytes/snapshot.json +62 -0
  110. package/migrations/20260824190313_complex_rage/snapshot.json +690 -0
  111. package/migrations/20260827233711_conversation_location/snapshot.json +42 -0
  112. package/migrations/20260901224306_event_task_status/snapshot.json +100 -0
  113. package/migrations/20260904153232_attachment_provider/snapshot.json +234 -0
  114. package/migrations/20260909111415_conversation_briefs/snapshot.json +364 -0
  115. package/migrations/20260910144928_automation_outcomes_backfill/snapshot.json +9 -0
  116. package/migrations/20260911184346_conversation_metrics/snapshot.json +226 -0
  117. package/migrations/20260921140842_scheduled_automation_channel_destinations/snapshot.json +9 -0
  118. package/migrations/20260922221709_event_automation_channel_destinations/snapshot.json +9 -0
  119. package/migrations/20261001113455_conversation_forks/snapshot.json +120 -0
  120. package/migrations/20261005161844_automation_versions/snapshot.json +150 -0
  121. package/migrations/20261006152043_user_timezone/snapshot.json +37 -0
  122. package/migrations/20261008200858_user_admin/snapshot.json +37 -0
  123. package/migrations/20261009145407_event_automation_status_reason/snapshot.json +42 -0
  124. package/migrations/20261013160816_agent_invocation_parent_mailbox/snapshot.json +93 -0
  125. package/migrations/20261013215020_agent_invocation_parent_tool_call/snapshot.json +42 -0
  126. package/migrations/20261014011138_agent_invocation_title/snapshot.json +42 -0
  127. package/migrations/20261014211942_conversation_stopped_at/snapshot.json +42 -0
  128. package/migrations/20261015012820_flowery_rage/snapshot.json +42 -0
  129. package/migrations/20261017000924_automations/snapshot.json +790 -0
  130. package/migrations/20261017134736_automation_runs/snapshot.json +474 -0
  131. package/migrations/20261017170250_drop_legacy_automation_tables/snapshot.json +397 -0
  132. package/migrations/20261018134754_automation_creator_identity/snapshot.json +130 -0
  133. package/migrations/20261023071954_automation_run_version/snapshot.json +79 -0
  134. package/migrations/20261025233137_identity_signed_in_at/snapshot.json +42 -0
  135. package/migrations/20261027234315_workspace_vcpus/snapshot.json +37 -0
  136. package/migrations/20261028124242_plugin_report_index/snapshot.json +68 -0
  137. package/migrations/20261028154230_agent_invocation_type/snapshot.json +42 -0
  138. package/migrations/20261030021803_any_resource_event_triggers/snapshot.json +42 -0
  139. package/migrations/20261030234309_user_customization/snapshot.json +37 -0
  140. package/migrations/20261031020656_review_items/snapshot.json +1078 -0
  141. package/migrations/20261031024151_review_item_dedupe_tenant/snapshot.json +62 -0
  142. package/migrations/20261031024246_review_item_slack_cards/snapshot.json +159 -0
  143. package/migrations/20261031155308_system_identity/snapshot.json +9 -0
  144. package/migrations/20261101193952_review_item_foreign_keys/snapshot.json +108 -0
  145. package/migrations/20261102172751_review_item_turn/snapshot.json +42 -0
  146. package/migrations/20261102221411_conversation_read_positions/snapshot.json +190 -0
  147. package/migrations/20261104085028_conversation_quick_question/snapshot.json +42 -0
  148. package/migrations/20261104145136_conversation_participant_pins/snapshot.json +42 -0
  149. package/migrations/20261104164429_conversation_detail_version/snapshot.json +42 -0
  150. package/migrations/20261104172055_conversation_auto_archive/snapshot.json +206 -0
  151. package/migrations/20261105005443_drop_agent_invocation_model_profile/snapshot.json +30 -0
  152. package/migrations/20261105043807_plugin_conversation_index/snapshot.json +76 -0
  153. package/migrations/20261105051837_conversation_event_author_index/snapshot.json +70 -0
  154. package/migrations/20261105182854_conversation_event_latest_message_indexes/snapshot.json +136 -0
  155. package/migrations/20261106011443_conversation_pin_position/snapshot.json +42 -0
  156. package/migrations/20261106095004_push_notifications/snapshot.json +308 -0
  157. package/migrations/20261106162740_conversation_kind/snapshot.json +88 -0
  158. package/migrations/20261107002001_read_position_backfill/snapshot.json +9 -0
  159. package/migrations/20261107025209_child_archived_at/snapshot.json +42 -0
  160. package/migrations/20261107035735_shared_archive/snapshot.json +67 -0
  161. package/migrations/20261107215055_child_location/snapshot.json +9 -0
  162. package/migrations/20261108191927_conversation_unsubscribe/snapshot.json +42 -0
  163. package/migrations/20261109021618_conversation_paused_status/snapshot.json +9 -0
  164. package/migrations/20261109111553_guardian_review_time_index/snapshot.json +54 -0
  165. package/migrations/20261109173130_conversation_participant_unsubscribed_index/snapshot.json +62 -0
  166. package/migrations/20261109182006_turn_metric_actor/snapshot.json +128 -0
  167. package/migrations/20261109202836_participant_root_actor_backfill/snapshot.json +9 -0
  168. package/migrations/20261109232640_conversation_delivery_paused_at/snapshot.json +42 -0
  169. package/migrations/20261110120937_web_linked_slack_identity_repair/snapshot.json +9 -0
  170. package/migrations/20261110175824_automation_task_kind/snapshot.json +145 -0
  171. package/migrations/20261110210242_conversation_kind_automation/snapshot.json +55 -0
  172. package/migrations/20261110222632_review_item_plugin_actions/snapshot.json +37 -0
  173. package/migrations/20261110225157_conversation_last_message_at/snapshot.json +42 -0
  174. package/migrations/20261111013351_automation_task_kind_repair/snapshot.json +9 -0
  175. package/migrations/20261111163126_drop_legacy_columns/snapshot.json +9 -0
  176. package/migrations/20261111170150_code_change_last_activity/snapshot.json +42 -0
  177. package/migrations/20261111191441_agent_invocation_fork/snapshot.json +42 -0
  178. package/migrations/20261112142841_code_change_draft/snapshot.json +37 -0
  179. package/migrations/20261112202901_attachment_uploads/snapshot.json +255 -0
  180. package/migrations/20261112220407_conversation_agent_config/snapshot.json +42 -0
  181. package/migrations/20261113081247_attachment_deferred_download/snapshot.json +52 -0
  182. package/migrations/20261113225551_conversation_embeddings/snapshot.json +203 -0
  183. package/migrations/20261114213238_user_preferences/snapshot.json +37 -0
  184. package/migrations/20261114222527_code_change_repository_state_index/snapshot.json +70 -0
  185. package/migrations/20261115172605_attachment_kinds/snapshot.json +244 -0
  186. package/migrations/20261115173004_attachment_url_fill/snapshot.json +9 -0
  187. package/migrations/20261115180216_attachment_url_index/snapshot.json +62 -0
  188. package/migrations/20261116103700_plan_items/snapshot.json +420 -0
  189. package/migrations/20261117100100_automation_creator_slack_index/snapshot.json +62 -0
  190. package/migrations/20261117132522_conversation_event_search/snapshot.json +396 -0
  191. package/migrations/20261117164007_automation_last_run/snapshot.json +108 -0
  192. package/migrations/20261117164047_automation_last_run_index/snapshot.json +54 -0
  193. package/migrations/20261117210444_money_micro_usd/snapshot.json +68 -0
  194. package/migrations/20261117210505_conversation_cost_micro_usd/snapshot.json +9 -0
  195. package/migrations/20261118081416_people_list_metric_index/snapshot.json +86 -0
  196. package/migrations/20261118095216_automation_rollout_repair/snapshot.json +9 -0
  197. package/migrations/20261118143948_cache_warming_history_reset/snapshot.json +9 -0
  198. package/migrations/20261119040651_artifact_visibility/snapshot.json +132 -0
  199. package/migrations/20261119040715_artifact_public_sha_index/snapshot.json +9 -0
  200. package/migrations/20261119052706_artifact_drop_public/snapshot.json +71 -0
  201. package/migrations/20261119053831_artifact_path/snapshot.json +114 -0
  202. package/migrations/20261119053844_artifact_path_index/snapshot.json +9 -0
  203. package/migrations/20261119091949_review_item_answered_index/snapshot.json +70 -0
  204. package/migrations/20261119100029_review_item_status_index/snapshot.json +54 -0
  205. package/migrations/20261119165607_brief_outcome_status/snapshot.json +42 -0
  206. package/migrations/20261119165622_brief_outcome_status_backfill/snapshot.json +9 -0
  207. package/migrations/20261119213716_brief_created_at_index/snapshot.json +62 -0
  208. package/migrations/20261119222456_slack_person_search_index/snapshot.json +50 -0
  209. package/migrations/20261119225522_code_change_size/snapshot.json +104 -0
  210. package/migrations/20261119232253_merge_conflict_notice_dismiss/snapshot.json +9 -0
  211. package/migrations/20261119235649_inbox_snoozes/snapshot.json +605 -0
  212. package/migrations/20261120093118_code_change_search_index/snapshot.json +89 -0
  213. package/migrations/20261120093452_review_item_owner/snapshot.json +314 -0
  214. package/migrations/20261120185654_review_item_owner_index/snapshot.json +62 -0
  215. package/migrations/20261120185754_memory_core_adoption/snapshot.json +1184 -0
  216. package/migrations/20261120185854_memory_core_indexes/snapshot.json +70 -0
  217. package/migrations/20261120235226_todos/snapshot.json +473 -0
  218. package/migrations/20261121082316_inbox_items/snapshot.json +2026 -0
  219. package/migrations/20261121175651_todo_changed_by_agent/snapshot.json +42 -0
  220. package/migrations/20261121183527_inbox_item_subject_title_parts/snapshot.json +42 -0
  221. package/migrations/20261121194143_inbox_snooze_wake_reason/snapshot.json +42 -0
  222. package/migrations/20261121222400_authorization_request_index/snapshot.json +62 -0
  223. package/migrations/20261121225908_conversation_metadata/snapshot.json +184 -0
  224. package/migrations/20261121225910_conversation_metadata_fill/snapshot.json +9 -0
  225. package/migrations/20261121225913_conversation_search_index/snapshot.json +50 -0
  226. package/migrations/20261122022900_inbox_item_legacy_automation_keys/snapshot.json +9 -0
  227. package/migrations/20261122024454_artifact_expiry/snapshot.json +37 -0
  228. package/migrations/20261122024455_artifact_permanent_sha_index/snapshot.json +62 -0
  229. package/migrations/20261122024457_artifact_drop_public_sha_index/snapshot.json +37 -0
  230. package/migrations/20261122024458_conversation_kind_lead/snapshot.json +55 -0
  231. package/migrations/20261122024459_conversation_lead_actor_index/snapshot.json +54 -0
  232. package/migrations/20261122071549_keep_legacy_archive_columns/snapshot.json +49 -0
  233. package/migrations/20261122191400_conversation_embeddings_fk_validate/snapshot.json +9 -0
  234. package/migrations/20261122204325_money_micro_usd_repair/snapshot.json +9 -0
  235. package/migrations/20261122204326_agent_config_backfill/snapshot.json +143 -0
  236. package/migrations/20261122221456_inbox_item_deliveries/snapshot.json +301 -0
  237. package/migrations/20261123155735_pg_trgm/snapshot.json +9 -0
  238. package/migrations/20261123155739_search_indexes/snapshot.json +167 -0
  239. package/migrations/20261123172647_drop_legacy_archive_columns/snapshot.json +9 -0
  240. package/migrations/20261123192506_memory_prefix_index/snapshot.json +69 -0
  241. package/migrations/20261123201740_todo_search_indexes/snapshot.json +89 -0
  242. package/migrations/20261123211505_todo_inbox_items/snapshot.json +38 -0
  243. package/migrations/20261123214917_drop_code_urls/snapshot.json +44 -0
  244. package/migrations/20261123224000_code_change_conversations_index/migration.sql +1 -0
  245. package/migrations/20261123224000_code_change_conversations_index/snapshot.json +54 -0
  246. package/migrations/20261124122023_drop_code_change_sizes/migration.sql +4 -0
  247. package/migrations/20261124122023_drop_code_change_sizes/snapshot.json +82 -0
  248. package/migrations/20261124142958_conversation_root_lookup_index/migration.sql +1 -0
  249. package/migrations/20261124142958_conversation_root_lookup_index/snapshot.json +62 -0
  250. package/migrations/20261124183352_legacy_brief_metadata_fill/migration.sql +26 -0
  251. package/migrations/20261124183352_legacy_brief_metadata_fill/snapshot.json +114 -0
  252. package/migrations/20261124202143_drizzle_v1_baseline/migration.sql +5 -0
  253. package/migrations/20261124202143_drizzle_v1_baseline/snapshot.json +2012 -0
  254. package/migrations/20261124221751_spaces/migration.sql +22 -0
  255. package/migrations/20261124221751_spaces/snapshot.json +436 -0
  256. package/migrations/20261124230319_conversation_metrics_utc_day_stats/migration.sql +11 -0
  257. package/migrations/20261124230319_conversation_metrics_utc_day_stats/snapshot.json +9 -0
  258. package/migrations/20261124234024_space_conversations/migration.sql +5 -0
  259. package/migrations/20261124234024_space_conversations/snapshot.json +103 -0
  260. package/migrations/20261124234026_space_conversations_index/migration.sql +1 -0
  261. package/migrations/20261124234026_space_conversations_index/snapshot.json +62 -0
  262. package/migrations/20261125012448_drop_lead_actor_index/migration.sql +3 -0
  263. package/migrations/20261125012448_drop_lead_actor_index/snapshot.json +36 -0
  264. package/migrations/20261125012452_space_lead_index/migration.sql +1 -0
  265. package/migrations/20261125012452_space_lead_index/snapshot.json +54 -0
  266. package/migrations/20261125043821_space_configurations/migration.sql +11 -0
  267. package/migrations/20261125043821_space_configurations/snapshot.json +194 -0
  268. package/migrations/20261125064854_agent_update_done_status/migration.sql +9 -0
  269. package/migrations/20261125064854_agent_update_done_status/snapshot.json +9 -0
  270. package/migrations/20261125073321_turn_engine_tables/migration.sql +75 -0
  271. package/migrations/20261125073321_turn_engine_tables/snapshot.json +1497 -0
  272. package/migrations/20261125073339_turn_inbox_one_source/migration.sql +5 -0
  273. package/migrations/20261125073339_turn_inbox_one_source/snapshot.json +9 -0
  274. package/migrations/20261125124506_versions_notify/migration.sql +27 -0
  275. package/migrations/20261125124506_versions_notify/snapshot.json +9 -0
  276. package/migrations/20261125140339_turn_group_key/migration.sql +14 -0
  277. package/migrations/20261125140339_turn_group_key/snapshot.json +75 -0
  278. package/migrations/20261125140343_turn_group_key_not_null/migration.sql +4 -0
  279. package/migrations/20261125140343_turn_group_key_not_null/snapshot.json +29 -0
  280. package/migrations/20261125142845_code_change_requesters/migration.sql +1 -0
  281. package/migrations/20261125142845_code_change_requesters/snapshot.json +42 -0
  282. package/migrations/20261125142846_code_change_requesters_index/migration.sql +1 -0
  283. package/migrations/20261125142846_code_change_requesters_index/snapshot.json +54 -0
  284. package/migrations/20261125143903_space_visibility/migration.sql +1 -0
  285. package/migrations/20261125143903_space_visibility/snapshot.json +37 -0
  286. package/migrations/20261125154848_merge_leaves/migration.sql +2 -0
  287. package/migrations/20261125154848_merge_leaves/snapshot.json +14 -0
  288. package/migrations/20261125171254_conversation_visibility/migration.sql +4 -0
  289. package/migrations/20261125171254_conversation_visibility/snapshot.json +67 -0
  290. package/migrations/20261125171257_conversation_visibility_backfill/migration.sql +25 -0
  291. package/migrations/20261125171257_conversation_visibility_backfill/snapshot.json +9 -0
  292. package/migrations/20261125213232_drop_versions_notify/migration.sql +19 -0
  293. package/migrations/20261125213232_drop_versions_notify/snapshot.json +9 -0
  294. package/migrations/20261125225138_conversation_kind_root_thread/migration.sql +23 -0
  295. package/migrations/20261125225138_conversation_kind_root_thread/snapshot.json +55 -0
  296. package/migrations/20261125225142_conversation_kind_root_thread_backfill/migration.sql +7 -0
  297. package/migrations/20261125225142_conversation_kind_root_thread_backfill/snapshot.json +9 -0
  298. package/migrations/20261126000151_conversation_event_message_role_seq_index/migration.sql +1 -0
  299. package/migrations/20261126000151_conversation_event_message_role_seq_index/snapshot.json +69 -0
  300. package/migrations/20261126012917_merge_leaves/migration.sql +2 -0
  301. package/migrations/20261126012917_merge_leaves/snapshot.json +12 -0
  302. package/package.json +13 -12
  303. package/skills/design-automation-skill/SKILL.md +1 -1
  304. package/skills/jr-rpc/SKILL.md +3 -5
  305. package/dist/adapter-JARQvoLw.js +0 -258
  306. package/dist/adapter-context-B4BrJZuS.js +0 -43
  307. package/dist/agent-runner-qZU5TR8i.js +0 -11974
  308. package/dist/agent-update-cS7Z9mnG.js +0 -26
  309. package/dist/background-compaction-queue-C_uIBUvS.js +0 -145
  310. package/dist/callback-C8SdXCwr.js +0 -68
  311. package/dist/catalog-runtime-BLKtnUL3.js +0 -6
  312. package/dist/config-BIfHKNXN.js +0 -2336
  313. package/dist/db-BTmLKZrp.js +0 -5804
  314. package/dist/db-DcmzbA55.d.ts +0 -274
  315. package/dist/history-CneKY7_V.js +0 -595
  316. package/dist/install-OtFboxOM.js +0 -228
  317. package/dist/proxy-path-BHYoKZdq.js +0 -15
  318. package/dist/registry-D6kS6xYH.js +0 -3024
  319. package/dist/rule-DAxQY-1h.js +0 -20
  320. package/dist/schema-BB6E0wyV.d.ts +0 -9472
  321. package/dist/start-conversation-a4NXH4X9.js +0 -752
  322. package/dist/store-BuhF1QDm.js +0 -490
  323. package/dist/task-queue-CrRjFzOh.js +0 -79
  324. package/dist/turn-session-routing-CZTRU8IY.js +0 -116
  325. package/dist/vercel-queue-nL0Hq3hr.js +0 -234
  326. package/dist/warmup-CCOuIwAS.js +0 -12759
  327. package/migrations/meta/0000_snapshot.json +0 -946
  328. package/migrations/meta/0001_snapshot.json +0 -972
  329. package/migrations/meta/0002_snapshot.json +0 -987
  330. package/migrations/meta/0003_snapshot.json +0 -1035
  331. package/migrations/meta/0004_snapshot.json +0 -1041
  332. package/migrations/meta/0005_snapshot.json +0 -948
  333. package/migrations/meta/0006_snapshot.json +0 -948
  334. package/migrations/meta/0007_snapshot.json +0 -1013
  335. package/migrations/meta/0008_snapshot.json +0 -1076
  336. package/migrations/meta/0009_snapshot.json +0 -1146
  337. package/migrations/meta/0010_snapshot.json +0 -1190
  338. package/migrations/meta/0011_snapshot.json +0 -1195
  339. package/migrations/meta/0012_snapshot.json +0 -1244
  340. package/migrations/meta/0013_snapshot.json +0 -1250
  341. package/migrations/meta/0014_snapshot.json +0 -1201
  342. package/migrations/meta/0015_snapshot.json +0 -1360
  343. package/migrations/meta/0016_snapshot.json +0 -1617
  344. package/migrations/meta/0017_snapshot.json +0 -1666
  345. package/migrations/meta/0018_snapshot.json +0 -1756
  346. package/migrations/meta/0019_snapshot.json +0 -1904
  347. package/migrations/meta/0020_snapshot.json +0 -1848
  348. package/migrations/meta/0021_snapshot.json +0 -2176
  349. package/migrations/meta/0022_snapshot.json +0 -2186
  350. package/migrations/meta/0023_snapshot.json +0 -2198
  351. package/migrations/meta/0024_snapshot.json +0 -2275
  352. package/migrations/meta/0025_snapshot.json +0 -2275
  353. package/migrations/meta/0026_snapshot.json +0 -2424
  354. package/migrations/meta/0027_snapshot.json +0 -2554
  355. package/migrations/meta/0028_snapshot.json +0 -2685
  356. package/migrations/meta/0029_snapshot.json +0 -2709
  357. package/migrations/meta/0030_snapshot.json +0 -2799
  358. package/migrations/meta/0031_snapshot.json +0 -2823
  359. package/migrations/meta/0032_snapshot.json +0 -2892
  360. package/migrations/meta/0033_snapshot.json +0 -2914
  361. package/migrations/meta/0034_snapshot.json +0 -3038
  362. package/migrations/meta/0035_snapshot.json +0 -3048
  363. package/migrations/meta/0036_snapshot.json +0 -3186
  364. package/migrations/meta/0037_snapshot.json +0 -3192
  365. package/migrations/meta/0038_snapshot.json +0 -3323
  366. package/migrations/meta/0039_snapshot.json +0 -3368
  367. package/migrations/meta/0040_snapshot.json +0 -3516
  368. package/migrations/meta/0041_snapshot.json +0 -3516
  369. package/migrations/meta/0042_snapshot.json +0 -3610
  370. package/migrations/meta/0043_snapshot.json +0 -3610
  371. package/migrations/meta/0044_snapshot.json +0 -3473
  372. package/migrations/meta/0045_snapshot.json +0 -3503
  373. package/migrations/meta/0046_snapshot.json +0 -3707
  374. package/migrations/meta/0047_snapshot.json +0 -3713
  375. package/migrations/meta/0048_snapshot.json +0 -3720
  376. package/migrations/meta/0049_snapshot.json +0 -3581
  377. package/migrations/meta/0050_snapshot.json +0 -3753
  378. package/migrations/meta/0051_snapshot.json +0 -3759
  379. package/migrations/meta/0052_snapshot.json +0 -3765
  380. package/migrations/meta/0053_snapshot.json +0 -3771
  381. package/migrations/meta/0054_snapshot.json +0 -3777
  382. package/migrations/meta/0055_snapshot.json +0 -3948
  383. package/migrations/meta/0056_snapshot.json +0 -4280
  384. package/migrations/meta/0057_snapshot.json +0 -3618
  385. package/migrations/meta/0058_snapshot.json +0 -3598
  386. package/migrations/meta/0059_snapshot.json +0 -3619
  387. package/migrations/meta/0060_snapshot.json +0 -3465
  388. package/migrations/meta/0061_snapshot.json +0 -3471
  389. package/migrations/meta/0062_snapshot.json +0 -3499
  390. package/migrations/meta/0063_snapshot.json +0 -3505
  391. package/migrations/meta/0064_snapshot.json +0 -3505
  392. package/migrations/meta/0065_snapshot.json +0 -3511
  393. package/migrations/meta/0066_snapshot.json +0 -4099
  394. package/migrations/meta/0067_snapshot.json +0 -3921
  395. package/migrations/meta/0068_snapshot.json +0 -4176
  396. package/migrations/meta/0069_snapshot.json +0 -3979
  397. package/migrations/meta/0070_snapshot.json +0 -3997
  398. package/migrations/meta/0071_snapshot.json +0 -4003
  399. package/migrations/meta/0072_snapshot.json +0 -4064
  400. package/migrations/meta/0073_snapshot.json +0 -4070
  401. package/migrations/meta/0074_snapshot.json +0 -4076
  402. package/migrations/meta/0075_snapshot.json +0 -4083
  403. package/migrations/meta/0076_snapshot.json +0 -4147
  404. package/migrations/meta/0077_snapshot.json +0 -4141
  405. package/migrations/meta/0078_snapshot.json +0 -4175
  406. package/migrations/meta/0079_snapshot.json +0 -4203
  407. package/migrations/meta/0080_snapshot.json +0 -4265
  408. package/migrations/meta/0081_snapshot.json +0 -4271
  409. package/migrations/meta/0082_snapshot.json +0 -4373
  410. package/migrations/meta/0083_snapshot.json +0 -4388
  411. package/migrations/meta/0084_snapshot.json +0 -4388
  412. package/migrations/meta/0085_snapshot.json +0 -4394
  413. package/migrations/meta/0086_snapshot.json +0 -4366
  414. package/migrations/meta/0087_snapshot.json +0 -4366
  415. package/migrations/meta/0088_snapshot.json +0 -4372
  416. package/migrations/meta/0089_snapshot.json +0 -4372
  417. package/migrations/meta/0090_snapshot.json +0 -4388
  418. package/migrations/meta/0091_snapshot.json +0 -4410
  419. package/migrations/meta/0092_snapshot.json +0 -4446
  420. package/migrations/meta/0093_snapshot.json +0 -4446
  421. package/migrations/meta/0094_snapshot.json +0 -4452
  422. package/migrations/meta/0095_snapshot.json +0 -4452
  423. package/migrations/meta/0096_snapshot.json +0 -4490
  424. package/migrations/meta/0097_snapshot.json +0 -4490
  425. package/migrations/meta/0098_snapshot.json +0 -4490
  426. package/migrations/meta/0099_snapshot.json +0 -4496
  427. package/migrations/meta/0100_snapshot.json +0 -4496
  428. package/migrations/meta/0101_snapshot.json +0 -4496
  429. package/migrations/meta/0102_snapshot.json +0 -4502
  430. package/migrations/meta/0103_snapshot.json +0 -4509
  431. package/migrations/meta/0104_snapshot.json +0 -4516
  432. package/migrations/meta/0105_snapshot.json +0 -4611
  433. package/migrations/meta/0106_snapshot.json +0 -4617
  434. package/migrations/meta/0107_snapshot.json +0 -4617
  435. package/migrations/meta/0108_snapshot.json +0 -4688
  436. package/migrations/meta/0109_snapshot.json +0 -4925
  437. package/migrations/meta/0110_snapshot.json +0 -4952
  438. package/migrations/meta/0111_snapshot.json +0 -5011
  439. package/migrations/meta/0112_snapshot.json +0 -5011
  440. package/migrations/meta/0113_snapshot.json +0 -5033
  441. package/migrations/meta/0114_snapshot.json +0 -5203
  442. package/migrations/meta/0115_snapshot.json +0 -5225
  443. package/migrations/meta/0116_snapshot.json +0 -5388
  444. package/migrations/meta/0117_snapshot.json +0 -5413
  445. package/migrations/meta/0118_snapshot.json +0 -5428
  446. package/migrations/meta/0119_snapshot.json +0 -5441
  447. package/migrations/meta/0120_snapshot.json +0 -5441
  448. package/migrations/meta/0121_snapshot.json +0 -5481
  449. package/migrations/meta/0122_snapshot.json +0 -5481
  450. package/migrations/meta/0123_snapshot.json +0 -5481
  451. package/migrations/meta/0124_snapshot.json +0 -5516
  452. package/migrations/meta/0125_snapshot.json +0 -5516
  453. package/migrations/meta/0126_snapshot.json +0 -5488
  454. package/migrations/meta/0127_snapshot.json +0 -5519
  455. package/migrations/meta/0128_snapshot.json +0 -5519
  456. package/migrations/meta/0129_snapshot.json +0 -5547
  457. package/migrations/meta/0130_snapshot.json +0 -5563
  458. package/migrations/meta/0131_snapshot.json +0 -5569
  459. package/migrations/meta/0132_snapshot.json +0 -5569
  460. package/migrations/meta/0133_snapshot.json +0 -5590
  461. package/migrations/meta/0134_snapshot.json +0 -5606
  462. package/migrations/meta/0135_snapshot.json +0 -5624
  463. package/migrations/meta/0136_snapshot.json +0 -5624
  464. package/migrations/meta/0137_snapshot.json +0 -5864
  465. package/migrations/meta/0138_snapshot.json +0 -5894
  466. package/migrations/meta/0139_snapshot.json +0 -5898
  467. package/migrations/meta/0140_snapshot.json +0 -5919
  468. package/migrations/meta/0141_snapshot.json +0 -6429
  469. package/migrations/meta/0142_snapshot.json +0 -6457
  470. package/migrations/meta/0143_snapshot.json +0 -6434
  471. package/migrations/meta/0144_snapshot.json +0 -6434
  472. package/migrations/meta/0145_snapshot.json +0 -6440
  473. package/migrations/meta/0146_snapshot.json +0 -6446
  474. package/migrations/meta/0147_snapshot.json +0 -6452
  475. package/migrations/meta/0148_snapshot.json +0 -6474
  476. package/migrations/meta/0149_snapshot.json +0 -6490
  477. package/migrations/meta/0150_snapshot.json +0 -6490
  478. package/migrations/meta/0151_snapshot.json +0 -6505
  479. package/migrations/meta/0152_snapshot.json +0 -6505
  480. package/migrations/meta/0153_snapshot.json +0 -6511
  481. package/migrations/meta/0154_snapshot.json +0 -6533
  482. package/migrations/meta/0155_snapshot.json +0 -6511
  483. package/migrations/meta/0156_snapshot.json +0 -6511
  484. package/migrations/meta/0157_snapshot.json +0 -6527
  485. package/migrations/meta/0158_snapshot.json +0 -6515
  486. package/migrations/meta/0159_snapshot.json +0 -6515
  487. package/migrations/meta/0160_snapshot.json +0 -6515
  488. package/migrations/meta/0161_snapshot.json +0 -6278
  489. package/migrations/meta/0162_snapshot.json +0 -6404
  490. package/migrations/meta/0163_snapshot.json +0 -6404
  491. package/migrations/meta/0164_snapshot.json +0 -6466
  492. package/migrations/meta/0165_snapshot.json +0 -6466
  493. package/migrations/meta/0166_snapshot.json +0 -6494
  494. package/migrations/meta/0167_snapshot.json +0 -6525
  495. package/migrations/meta/0168_snapshot.json +0 -6525
  496. package/migrations/meta/0169_snapshot.json +0 -6513
  497. package/migrations/meta/_journal.json +0 -1196
  498. /package/migrations/{0000_initial.sql → 20260711145847_initial/migration.sql} +0 -0
  499. /package/migrations/{0001_conversation_metrics.sql → 20260711145900_conversation_metrics/migration.sql} +0 -0
  500. /package/migrations/{0002_conversation_message_search.sql → 20260712153649_conversation_message_search/migration.sql} +0 -0
  501. /package/migrations/{0003_peaceful_scalphunter.sql → 20260713040256_peaceful_scalphunter/migration.sql} +0 -0
  502. /package/migrations/{0004_useful_magus.sql → 20260715174202_useful_magus/migration.sql} +0 -0
  503. /package/migrations/{0005_conversation_events.sql → 20260715174203_conversation_events/migration.sql} +0 -0
  504. /package/migrations/{0006_drop_legacy_conversation_messages.sql → 20260723042835_drop_legacy_conversation_messages/migration.sql} +0 -0
  505. /package/migrations/{0007_thick_sugar_man.sql → 20260723050612_thick_sugar_man/migration.sql} +0 -0
  506. /package/migrations/{0008_sticky_rage.sql → 20260727223822_sticky_rage/migration.sql} +0 -0
  507. /package/migrations/{0009_slippery_harrier.sql → 20260728033158_slippery_harrier/migration.sql} +0 -0
  508. /package/migrations/{0010_native_conversation_history.sql → 20260728040836_native_conversation_history/migration.sql} +0 -0
  509. /package/migrations/{0011_sour_golden_guardian.sql → 20260728204900_sour_golden_guardian/migration.sql} +0 -0
  510. /package/migrations/{0012_structured_conversation_events.sql → 20260730233332_structured_conversation_events/migration.sql} +0 -0
  511. /package/migrations/{0013_conversation_session_source.sql → 20260731164038_conversation_session_source/migration.sql} +0 -0
  512. /package/migrations/{0014_source_visibility.sql → 20260801230336_source_visibility/migration.sql} +0 -0
  513. /package/migrations/{0015_magical_ezekiel_stane.sql → 20260802023731_magical_ezekiel_stane/migration.sql} +0 -0
  514. /package/migrations/{0016_neat_the_anarchist.sql → 20260804015843_neat_the_anarchist/migration.sql} +0 -0
  515. /package/migrations/{0017_drop_paused_scheduled_tasks.sql → 20260804165952_drop_paused_scheduled_tasks/migration.sql} +0 -0
  516. /package/migrations/{0018_curvy_excalibur.sql → 20260804225613_curvy_excalibur/migration.sql} +0 -0
  517. /package/migrations/{0019_lowly_valkyrie.sql → 20260805174033_lowly_valkyrie/migration.sql} +0 -0
  518. /package/migrations/{0020_restrict_task_execution_kinds.sql → 20260805200301_restrict_task_execution_kinds/migration.sql} +0 -0
  519. /package/migrations/{0021_first_warhawk.sql → 20260806030729_first_warhawk/migration.sql} +0 -0
  520. /package/migrations/{0022_task_execution_status.sql → 20260807185200_task_execution_status/migration.sql} +0 -0
  521. /package/migrations/{0023_task_title_columns.sql → 20260808014743_task_title_columns/migration.sql} +0 -0
  522. /package/migrations/{0024_misty_typhoid_mary.sql → 20260809220421_misty_typhoid_mary/migration.sql} +0 -0
  523. /package/migrations/{0025_mcp_credential_subject.sql → 20260811193709_mcp_credential_subject/migration.sql} +0 -0
  524. /package/migrations/{0026_conversation_event_actor_and_participants.sql → 20260812032924_conversation_event_actor_and_participants/migration.sql} +0 -0
  525. /package/migrations/{0027_attachment_storage.sql → 20260812172418_attachment_storage/migration.sql} +0 -0
  526. /package/migrations/{0028_artifacts.sql → 20260813230732_artifacts/migration.sql} +0 -0
  527. /package/migrations/{0029_dizzy_barracuda.sql → 20260814062905_dizzy_barracuda/migration.sql} +0 -0
  528. /package/migrations/{0030_drop_workspace_repo_primary.sql → 20260814231353_drop_workspace_repo_primary/migration.sql} +0 -0
  529. /package/migrations/{0031_wild_phantom_reporter.sql → 20260815030100_wild_phantom_reporter/migration.sql} +0 -0
  530. /package/migrations/{0032_workspace_snapshots_table.sql → 20260817082233_workspace_snapshots_table/migration.sql} +0 -0
  531. /package/migrations/{0033_workspace_snapshot_active_build.sql → 20260818160339_workspace_snapshot_active_build/migration.sql} +0 -0
  532. /package/migrations/{0034_strong_randall.sql → 20260821180755_strong_randall/migration.sql} +0 -0
  533. /package/migrations/{0035_workspace_snapshot_size_bytes.sql → 20260823030308_workspace_snapshot_size_bytes/migration.sql} +0 -0
  534. /package/migrations/{0036_complex_rage.sql → 20260824190313_complex_rage/migration.sql} +0 -0
  535. /package/migrations/{0037_conversation_location.sql → 20260827233711_conversation_location/migration.sql} +0 -0
  536. /package/migrations/{0038_event_task_status.sql → 20260901224306_event_task_status/migration.sql} +0 -0
  537. /package/migrations/{0039_attachment_provider.sql → 20260904153232_attachment_provider/migration.sql} +0 -0
  538. /package/migrations/{0040_conversation_briefs.sql → 20260909111415_conversation_briefs/migration.sql} +0 -0
  539. /package/migrations/{0041_automation_outcomes_backfill.sql → 20260910144928_automation_outcomes_backfill/migration.sql} +0 -0
  540. /package/migrations/{0042_conversation_metrics.sql → 20260911184346_conversation_metrics/migration.sql} +0 -0
  541. /package/migrations/{0043_scheduled_automation_channel_destinations.sql → 20260921140842_scheduled_automation_channel_destinations/migration.sql} +0 -0
  542. /package/migrations/{0044_event_automation_channel_destinations.sql → 20260922221709_event_automation_channel_destinations/migration.sql} +0 -0
  543. /package/migrations/{0045_conversation_forks.sql → 20261001113455_conversation_forks/migration.sql} +0 -0
  544. /package/migrations/{0046_automation_versions.sql → 20261005161844_automation_versions/migration.sql} +0 -0
  545. /package/migrations/{0047_user_timezone.sql → 20261006152043_user_timezone/migration.sql} +0 -0
  546. /package/migrations/{0048_user_admin.sql → 20261008200858_user_admin/migration.sql} +0 -0
  547. /package/migrations/{0049_event_automation_status_reason.sql → 20261009145407_event_automation_status_reason/migration.sql} +0 -0
  548. /package/migrations/{0050_agent_invocation_parent_mailbox.sql → 20261013160816_agent_invocation_parent_mailbox/migration.sql} +0 -0
  549. /package/migrations/{0051_agent_invocation_parent_tool_call.sql → 20261013215020_agent_invocation_parent_tool_call/migration.sql} +0 -0
  550. /package/migrations/{0052_agent_invocation_title.sql → 20261014011138_agent_invocation_title/migration.sql} +0 -0
  551. /package/migrations/{0053_conversation_stopped_at.sql → 20261014211942_conversation_stopped_at/migration.sql} +0 -0
  552. /package/migrations/{0054_flowery_rage.sql → 20261015012820_flowery_rage/migration.sql} +0 -0
  553. /package/migrations/{0055_automations.sql → 20261017000924_automations/migration.sql} +0 -0
  554. /package/migrations/{0056_automation_runs.sql → 20261017134736_automation_runs/migration.sql} +0 -0
  555. /package/migrations/{0057_drop_legacy_automation_tables.sql → 20261017170250_drop_legacy_automation_tables/migration.sql} +0 -0
  556. /package/migrations/{0058_automation_creator_identity.sql → 20261018134754_automation_creator_identity/migration.sql} +0 -0
  557. /package/migrations/{0059_automation_run_version.sql → 20261023071954_automation_run_version/migration.sql} +0 -0
  558. /package/migrations/{0060_identity_signed_in_at.sql → 20261025233137_identity_signed_in_at/migration.sql} +0 -0
  559. /package/migrations/{0061_workspace_vcpus.sql → 20261027234315_workspace_vcpus/migration.sql} +0 -0
  560. /package/migrations/{0062_plugin_report_index.sql → 20261028124242_plugin_report_index/migration.sql} +0 -0
  561. /package/migrations/{0063_agent_invocation_type.sql → 20261028154230_agent_invocation_type/migration.sql} +0 -0
  562. /package/migrations/{0064_any_resource_event_triggers.sql → 20261030021803_any_resource_event_triggers/migration.sql} +0 -0
  563. /package/migrations/{0065_user_customization.sql → 20261030234309_user_customization/migration.sql} +0 -0
  564. /package/migrations/{0066_review_items.sql → 20261031020656_review_items/migration.sql} +0 -0
  565. /package/migrations/{0067_review_item_dedupe_tenant.sql → 20261031024151_review_item_dedupe_tenant/migration.sql} +0 -0
  566. /package/migrations/{0068_review_item_slack_cards.sql → 20261031024246_review_item_slack_cards/migration.sql} +0 -0
  567. /package/migrations/{0069_system_identity.sql → 20261031155308_system_identity/migration.sql} +0 -0
  568. /package/migrations/{0070_review_item_foreign_keys.sql → 20261101193952_review_item_foreign_keys/migration.sql} +0 -0
  569. /package/migrations/{0071_review_item_turn.sql → 20261102172751_review_item_turn/migration.sql} +0 -0
  570. /package/migrations/{0072_conversation_read_positions.sql → 20261102221411_conversation_read_positions/migration.sql} +0 -0
  571. /package/migrations/{0073_conversation_quick_question.sql → 20261104085028_conversation_quick_question/migration.sql} +0 -0
  572. /package/migrations/{0074_conversation_participant_pins.sql → 20261104145136_conversation_participant_pins/migration.sql} +0 -0
  573. /package/migrations/{0075_conversation_detail_version.sql → 20261104164429_conversation_detail_version/migration.sql} +0 -0
  574. /package/migrations/{0076_conversation_auto_archive.sql → 20261104172055_conversation_auto_archive/migration.sql} +0 -0
  575. /package/migrations/{0077_drop_agent_invocation_model_profile.sql → 20261105005443_drop_agent_invocation_model_profile/migration.sql} +0 -0
  576. /package/migrations/{0078_plugin_conversation_index.sql → 20261105043807_plugin_conversation_index/migration.sql} +0 -0
  577. /package/migrations/{0079_conversation_event_author_index.sql → 20261105051837_conversation_event_author_index/migration.sql} +0 -0
  578. /package/migrations/{0080_conversation_event_latest_message_indexes.sql → 20261105182854_conversation_event_latest_message_indexes/migration.sql} +0 -0
  579. /package/migrations/{0081_conversation_pin_position.sql → 20261106011443_conversation_pin_position/migration.sql} +0 -0
  580. /package/migrations/{0082_push_notifications.sql → 20261106095004_push_notifications/migration.sql} +0 -0
  581. /package/migrations/{0083_conversation_kind.sql → 20261106162740_conversation_kind/migration.sql} +0 -0
  582. /package/migrations/{0084_read_position_backfill.sql → 20261107002001_read_position_backfill/migration.sql} +0 -0
  583. /package/migrations/{0085_child_archived_at.sql → 20261107025209_child_archived_at/migration.sql} +0 -0
  584. /package/migrations/{0086_shared_archive.sql → 20261107035735_shared_archive/migration.sql} +0 -0
  585. /package/migrations/{0087_child_location.sql → 20261107215055_child_location/migration.sql} +0 -0
  586. /package/migrations/{0088_conversation_unsubscribe.sql → 20261108191927_conversation_unsubscribe/migration.sql} +0 -0
  587. /package/migrations/{0089_conversation_paused_status.sql → 20261109021618_conversation_paused_status/migration.sql} +0 -0
  588. /package/migrations/{0090_guardian_review_time_index.sql → 20261109111553_guardian_review_time_index/migration.sql} +0 -0
  589. /package/migrations/{0091_conversation_participant_unsubscribed_index.sql → 20261109173130_conversation_participant_unsubscribed_index/migration.sql} +0 -0
  590. /package/migrations/{0092_turn_metric_actor.sql → 20261109182006_turn_metric_actor/migration.sql} +0 -0
  591. /package/migrations/{0093_participant_root_actor_backfill.sql → 20261109202836_participant_root_actor_backfill/migration.sql} +0 -0
  592. /package/migrations/{0094_conversation_delivery_paused_at.sql → 20261109232640_conversation_delivery_paused_at/migration.sql} +0 -0
  593. /package/migrations/{0095_web_linked_slack_identity_repair.sql → 20261110120937_web_linked_slack_identity_repair/migration.sql} +0 -0
  594. /package/migrations/{0096_automation_task_kind.sql → 20261110175824_automation_task_kind/migration.sql} +0 -0
  595. /package/migrations/{0097_conversation_kind_automation.sql → 20261110210242_conversation_kind_automation/migration.sql} +0 -0
  596. /package/migrations/{0098_review_item_plugin_actions.sql → 20261110222632_review_item_plugin_actions/migration.sql} +0 -0
  597. /package/migrations/{0099_conversation_last_message_at.sql → 20261110225157_conversation_last_message_at/migration.sql} +0 -0
  598. /package/migrations/{0100_automation_task_kind_repair.sql → 20261111013351_automation_task_kind_repair/migration.sql} +0 -0
  599. /package/migrations/{0101_drop_legacy_columns.sql → 20261111163126_drop_legacy_columns/migration.sql} +0 -0
  600. /package/migrations/{0102_code_change_last_activity.sql → 20261111170150_code_change_last_activity/migration.sql} +0 -0
  601. /package/migrations/{0103_agent_invocation_fork.sql → 20261111191441_agent_invocation_fork/migration.sql} +0 -0
  602. /package/migrations/{0104_code_change_draft.sql → 20261112142841_code_change_draft/migration.sql} +0 -0
  603. /package/migrations/{0105_attachment_uploads.sql → 20261112202901_attachment_uploads/migration.sql} +0 -0
  604. /package/migrations/{0106_conversation_agent_config.sql → 20261112220407_conversation_agent_config/migration.sql} +0 -0
  605. /package/migrations/{0107_attachment_deferred_download.sql → 20261113081247_attachment_deferred_download/migration.sql} +0 -0
  606. /package/migrations/{0108_conversation_embeddings.sql → 20261113225551_conversation_embeddings/migration.sql} +0 -0
  607. /package/migrations/{0109_user_preferences.sql → 20261114213238_user_preferences/migration.sql} +0 -0
  608. /package/migrations/{0110_code_change_repository_state_index.sql → 20261114222527_code_change_repository_state_index/migration.sql} +0 -0
  609. /package/migrations/{0111_attachment_kinds.sql → 20261115172605_attachment_kinds/migration.sql} +0 -0
  610. /package/migrations/{0112_attachment_url_fill.sql → 20261115173004_attachment_url_fill/migration.sql} +0 -0
  611. /package/migrations/{0113_attachment_url_index.sql → 20261115180216_attachment_url_index/migration.sql} +0 -0
  612. /package/migrations/{0114_plan_items.sql → 20261116103700_plan_items/migration.sql} +0 -0
  613. /package/migrations/{0115_automation_creator_slack_index.sql → 20261117100100_automation_creator_slack_index/migration.sql} +0 -0
  614. /package/migrations/{0116_conversation_event_search.sql → 20261117132522_conversation_event_search/migration.sql} +0 -0
  615. /package/migrations/{0117_automation_last_run.sql → 20261117164007_automation_last_run/migration.sql} +0 -0
  616. /package/migrations/{0118_automation_last_run_index.sql → 20261117164047_automation_last_run_index/migration.sql} +0 -0
  617. /package/migrations/{0119_money_micro_usd.sql → 20261117210444_money_micro_usd/migration.sql} +0 -0
  618. /package/migrations/{0120_conversation_cost_micro_usd.sql → 20261117210505_conversation_cost_micro_usd/migration.sql} +0 -0
  619. /package/migrations/{0121_people_list_metric_index.sql → 20261118081416_people_list_metric_index/migration.sql} +0 -0
  620. /package/migrations/{0122_automation_rollout_repair.sql → 20261118095216_automation_rollout_repair/migration.sql} +0 -0
  621. /package/migrations/{0123_cache_warming_history_reset.sql → 20261118143948_cache_warming_history_reset/migration.sql} +0 -0
  622. /package/migrations/{0124_artifact_visibility.sql → 20261119040651_artifact_visibility/migration.sql} +0 -0
  623. /package/migrations/{0125_artifact_public_sha_index.sql → 20261119040715_artifact_public_sha_index/migration.sql} +0 -0
  624. /package/migrations/{0126_artifact_drop_public.sql → 20261119052706_artifact_drop_public/migration.sql} +0 -0
  625. /package/migrations/{0127_artifact_path.sql → 20261119053831_artifact_path/migration.sql} +0 -0
  626. /package/migrations/{0128_artifact_path_index.sql → 20261119053844_artifact_path_index/migration.sql} +0 -0
  627. /package/migrations/{0129_review_item_answered_index.sql → 20261119091949_review_item_answered_index/migration.sql} +0 -0
  628. /package/migrations/{0130_review_item_status_index.sql → 20261119100029_review_item_status_index/migration.sql} +0 -0
  629. /package/migrations/{0131_brief_outcome_status.sql → 20261119165607_brief_outcome_status/migration.sql} +0 -0
  630. /package/migrations/{0132_brief_outcome_status_backfill.sql → 20261119165622_brief_outcome_status_backfill/migration.sql} +0 -0
  631. /package/migrations/{0133_brief_created_at_index.sql → 20261119213716_brief_created_at_index/migration.sql} +0 -0
  632. /package/migrations/{0134_slack_person_search_index.sql → 20261119222456_slack_person_search_index/migration.sql} +0 -0
  633. /package/migrations/{0135_code_change_size.sql → 20261119225522_code_change_size/migration.sql} +0 -0
  634. /package/migrations/{0136_merge_conflict_notice_dismiss.sql → 20261119232253_merge_conflict_notice_dismiss/migration.sql} +0 -0
  635. /package/migrations/{0137_inbox_snoozes.sql → 20261119235649_inbox_snoozes/migration.sql} +0 -0
  636. /package/migrations/{0138_code_change_search_index.sql → 20261120093118_code_change_search_index/migration.sql} +0 -0
  637. /package/migrations/{0139_review_item_owner.sql → 20261120093452_review_item_owner/migration.sql} +0 -0
  638. /package/migrations/{0140_review_item_owner_index.sql → 20261120185654_review_item_owner_index/migration.sql} +0 -0
  639. /package/migrations/{0141_memory_core_adoption.sql → 20261120185754_memory_core_adoption/migration.sql} +0 -0
  640. /package/migrations/{0142_memory_core_indexes.sql → 20261120185854_memory_core_indexes/migration.sql} +0 -0
  641. /package/migrations/{0143_todos.sql → 20261120235226_todos/migration.sql} +0 -0
  642. /package/migrations/{0144_inbox_items.sql → 20261121082316_inbox_items/migration.sql} +0 -0
  643. /package/migrations/{0145_todo_changed_by_agent.sql → 20261121175651_todo_changed_by_agent/migration.sql} +0 -0
  644. /package/migrations/{0146_inbox_item_subject_title_parts.sql → 20261121183527_inbox_item_subject_title_parts/migration.sql} +0 -0
  645. /package/migrations/{0147_inbox_snooze_wake_reason.sql → 20261121194143_inbox_snooze_wake_reason/migration.sql} +0 -0
  646. /package/migrations/{0148_authorization_request_index.sql → 20261121222400_authorization_request_index/migration.sql} +0 -0
  647. /package/migrations/{0149_conversation_metadata.sql → 20261121225908_conversation_metadata/migration.sql} +0 -0
  648. /package/migrations/{0150_conversation_metadata_fill.sql → 20261121225910_conversation_metadata_fill/migration.sql} +0 -0
  649. /package/migrations/{0151_conversation_search_index.sql → 20261121225913_conversation_search_index/migration.sql} +0 -0
  650. /package/migrations/{0152_inbox_item_legacy_automation_keys.sql → 20261122022900_inbox_item_legacy_automation_keys/migration.sql} +0 -0
  651. /package/migrations/{0153_artifact_expiry.sql → 20261122024454_artifact_expiry/migration.sql} +0 -0
  652. /package/migrations/{0154_artifact_permanent_sha_index.sql → 20261122024455_artifact_permanent_sha_index/migration.sql} +0 -0
  653. /package/migrations/{0155_artifact_drop_public_sha_index.sql → 20261122024457_artifact_drop_public_sha_index/migration.sql} +0 -0
  654. /package/migrations/{0156_conversation_kind_lead.sql → 20261122024458_conversation_kind_lead/migration.sql} +0 -0
  655. /package/migrations/{0157_conversation_lead_actor_index.sql → 20261122024459_conversation_lead_actor_index/migration.sql} +0 -0
  656. /package/migrations/{0158_keep_legacy_archive_columns.sql → 20261122071549_keep_legacy_archive_columns/migration.sql} +0 -0
  657. /package/migrations/{0159_conversation_embeddings_fk_validate.sql → 20261122191400_conversation_embeddings_fk_validate/migration.sql} +0 -0
  658. /package/migrations/{0160_money_micro_usd_repair.sql → 20261122204325_money_micro_usd_repair/migration.sql} +0 -0
  659. /package/migrations/{0161_agent_config_backfill.sql → 20261122204326_agent_config_backfill/migration.sql} +0 -0
  660. /package/migrations/{0162_inbox_item_deliveries.sql → 20261122221456_inbox_item_deliveries/migration.sql} +0 -0
  661. /package/migrations/{0163_pg_trgm.sql → 20261123155735_pg_trgm/migration.sql} +0 -0
  662. /package/migrations/{0164_search_indexes.sql → 20261123155739_search_indexes/migration.sql} +0 -0
  663. /package/migrations/{0165_drop_legacy_archive_columns.sql → 20261123172647_drop_legacy_archive_columns/migration.sql} +0 -0
  664. /package/migrations/{0166_memory_prefix_index.sql → 20261123192506_memory_prefix_index/migration.sql} +0 -0
  665. /package/migrations/{0167_todo_search_indexes.sql → 20261123201740_todo_search_indexes/migration.sql} +0 -0
  666. /package/migrations/{0168_todo_inbox_items.sql → 20261123211505_todo_inbox_items/migration.sql} +0 -0
  667. /package/migrations/{0169_drop_code_urls.sql → 20261123214917_drop_code_urls/migration.sql} +0 -0
@@ -1,3765 +0,0 @@
1
- {
2
- "id": "26ccb87a-ce55-43c7-8fb0-2c764c518a9c",
3
- "prevId": "f841fd42-809f-4d52-a41d-29f812cdc303",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.junior_agent_bindings": {
8
- "name": "junior_agent_bindings",
9
- "schema": "",
10
- "columns": {
11
- "parent_conversation_id": {
12
- "name": "parent_conversation_id",
13
- "type": "text",
14
- "primaryKey": false,
15
- "notNull": true
16
- },
17
- "name": {
18
- "name": "name",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "child_conversation_id": {
24
- "name": "child_conversation_id",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- }
29
- },
30
- "indexes": {
31
- "junior_agent_bindings_child_idx": {
32
- "name": "junior_agent_bindings_child_idx",
33
- "columns": [
34
- {
35
- "expression": "child_conversation_id",
36
- "isExpression": false,
37
- "asc": true,
38
- "nulls": "last"
39
- }
40
- ],
41
- "isUnique": true,
42
- "concurrently": false,
43
- "method": "btree",
44
- "with": {}
45
- }
46
- },
47
- "foreignKeys": {
48
- "junior_agent_bindings_parent_conversation_id_junior_conversations_conversation_id_fk": {
49
- "name": "junior_agent_bindings_parent_conversation_id_junior_conversations_conversation_id_fk",
50
- "tableFrom": "junior_agent_bindings",
51
- "tableTo": "junior_conversations",
52
- "columnsFrom": [
53
- "parent_conversation_id"
54
- ],
55
- "columnsTo": [
56
- "conversation_id"
57
- ],
58
- "onDelete": "no action",
59
- "onUpdate": "no action"
60
- },
61
- "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk": {
62
- "name": "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk",
63
- "tableFrom": "junior_agent_bindings",
64
- "tableTo": "junior_conversations",
65
- "columnsFrom": [
66
- "child_conversation_id"
67
- ],
68
- "columnsTo": [
69
- "conversation_id"
70
- ],
71
- "onDelete": "no action",
72
- "onUpdate": "no action"
73
- }
74
- },
75
- "compositePrimaryKeys": {
76
- "junior_agent_bindings_parent_conversation_id_name_pk": {
77
- "name": "junior_agent_bindings_parent_conversation_id_name_pk",
78
- "columns": [
79
- "parent_conversation_id",
80
- "name"
81
- ]
82
- }
83
- },
84
- "uniqueConstraints": {},
85
- "policies": {},
86
- "checkConstraints": {},
87
- "isRLSEnabled": false
88
- },
89
- "public.junior_agent_invocations": {
90
- "name": "junior_agent_invocations",
91
- "schema": "",
92
- "columns": {
93
- "invocation_id": {
94
- "name": "invocation_id",
95
- "type": "text",
96
- "primaryKey": true,
97
- "notNull": true
98
- },
99
- "parent_conversation_id": {
100
- "name": "parent_conversation_id",
101
- "type": "text",
102
- "primaryKey": false,
103
- "notNull": true
104
- },
105
- "child_conversation_id": {
106
- "name": "child_conversation_id",
107
- "type": "text",
108
- "primaryKey": false,
109
- "notNull": true
110
- },
111
- "agent_name": {
112
- "name": "agent_name",
113
- "type": "text",
114
- "primaryKey": false,
115
- "notNull": false
116
- },
117
- "input": {
118
- "name": "input",
119
- "type": "text",
120
- "primaryKey": false,
121
- "notNull": true
122
- },
123
- "title": {
124
- "name": "title",
125
- "type": "text",
126
- "primaryKey": false,
127
- "notNull": false
128
- },
129
- "actor_json": {
130
- "name": "actor_json",
131
- "type": "jsonb",
132
- "primaryKey": false,
133
- "notNull": true
134
- },
135
- "credential_context_json": {
136
- "name": "credential_context_json",
137
- "type": "jsonb",
138
- "primaryKey": false,
139
- "notNull": false
140
- },
141
- "source_json": {
142
- "name": "source_json",
143
- "type": "jsonb",
144
- "primaryKey": false,
145
- "notNull": true
146
- },
147
- "destination_json": {
148
- "name": "destination_json",
149
- "type": "jsonb",
150
- "primaryKey": false,
151
- "notNull": true
152
- },
153
- "destination_visibility": {
154
- "name": "destination_visibility",
155
- "type": "text",
156
- "primaryKey": false,
157
- "notNull": false
158
- },
159
- "reasoning_level": {
160
- "name": "reasoning_level",
161
- "type": "text",
162
- "primaryKey": false,
163
- "notNull": false
164
- },
165
- "parent_tool_call_id": {
166
- "name": "parent_tool_call_id",
167
- "type": "text",
168
- "primaryKey": false,
169
- "notNull": false
170
- },
171
- "status": {
172
- "name": "status",
173
- "type": "text",
174
- "primaryKey": false,
175
- "notNull": true
176
- },
177
- "mailbox_status": {
178
- "name": "mailbox_status",
179
- "type": "text",
180
- "primaryKey": false,
181
- "notNull": true
182
- },
183
- "parent_mailbox_status": {
184
- "name": "parent_mailbox_status",
185
- "type": "text",
186
- "primaryKey": false,
187
- "notNull": false
188
- },
189
- "result": {
190
- "name": "result",
191
- "type": "text",
192
- "primaryKey": false,
193
- "notNull": false
194
- },
195
- "error_message": {
196
- "name": "error_message",
197
- "type": "text",
198
- "primaryKey": false,
199
- "notNull": false
200
- },
201
- "created_at": {
202
- "name": "created_at",
203
- "type": "timestamp with time zone",
204
- "primaryKey": false,
205
- "notNull": true
206
- },
207
- "updated_at": {
208
- "name": "updated_at",
209
- "type": "timestamp with time zone",
210
- "primaryKey": false,
211
- "notNull": true
212
- },
213
- "terminal_at": {
214
- "name": "terminal_at",
215
- "type": "timestamp with time zone",
216
- "primaryKey": false,
217
- "notNull": false
218
- }
219
- },
220
- "indexes": {
221
- "junior_agent_invocations_child_idx": {
222
- "name": "junior_agent_invocations_child_idx",
223
- "columns": [
224
- {
225
- "expression": "child_conversation_id",
226
- "isExpression": false,
227
- "asc": true,
228
- "nulls": "last"
229
- }
230
- ],
231
- "isUnique": false,
232
- "concurrently": false,
233
- "method": "btree",
234
- "with": {}
235
- },
236
- "junior_agent_invocations_mailbox_idx": {
237
- "name": "junior_agent_invocations_mailbox_idx",
238
- "columns": [
239
- {
240
- "expression": "mailbox_status",
241
- "isExpression": false,
242
- "asc": true,
243
- "nulls": "last"
244
- },
245
- {
246
- "expression": "created_at",
247
- "isExpression": false,
248
- "asc": true,
249
- "nulls": "last"
250
- }
251
- ],
252
- "isUnique": false,
253
- "concurrently": false,
254
- "method": "btree",
255
- "with": {}
256
- },
257
- "junior_agent_invocations_parent_mailbox_idx": {
258
- "name": "junior_agent_invocations_parent_mailbox_idx",
259
- "columns": [
260
- {
261
- "expression": "parent_mailbox_status",
262
- "isExpression": false,
263
- "asc": true,
264
- "nulls": "last"
265
- },
266
- {
267
- "expression": "terminal_at",
268
- "isExpression": false,
269
- "asc": true,
270
- "nulls": "last"
271
- }
272
- ],
273
- "isUnique": false,
274
- "concurrently": false,
275
- "method": "btree",
276
- "with": {}
277
- }
278
- },
279
- "foreignKeys": {
280
- "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk": {
281
- "name": "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk",
282
- "tableFrom": "junior_agent_invocations",
283
- "tableTo": "junior_conversations",
284
- "columnsFrom": [
285
- "parent_conversation_id"
286
- ],
287
- "columnsTo": [
288
- "conversation_id"
289
- ],
290
- "onDelete": "no action",
291
- "onUpdate": "no action"
292
- },
293
- "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk": {
294
- "name": "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk",
295
- "tableFrom": "junior_agent_invocations",
296
- "tableTo": "junior_conversations",
297
- "columnsFrom": [
298
- "child_conversation_id"
299
- ],
300
- "columnsTo": [
301
- "conversation_id"
302
- ],
303
- "onDelete": "no action",
304
- "onUpdate": "no action"
305
- }
306
- },
307
- "compositePrimaryKeys": {},
308
- "uniqueConstraints": {},
309
- "policies": {},
310
- "checkConstraints": {},
311
- "isRLSEnabled": false
312
- },
313
- "public.junior_api_tokens": {
314
- "name": "junior_api_tokens",
315
- "schema": "",
316
- "columns": {
317
- "id": {
318
- "name": "id",
319
- "type": "text",
320
- "primaryKey": true,
321
- "notNull": true
322
- },
323
- "owner_email_normalized": {
324
- "name": "owner_email_normalized",
325
- "type": "text",
326
- "primaryKey": false,
327
- "notNull": true
328
- },
329
- "name": {
330
- "name": "name",
331
- "type": "text",
332
- "primaryKey": false,
333
- "notNull": true
334
- },
335
- "token_hash": {
336
- "name": "token_hash",
337
- "type": "text",
338
- "primaryKey": false,
339
- "notNull": true
340
- },
341
- "token_suffix": {
342
- "name": "token_suffix",
343
- "type": "text",
344
- "primaryKey": false,
345
- "notNull": true
346
- },
347
- "created_at": {
348
- "name": "created_at",
349
- "type": "timestamp with time zone",
350
- "primaryKey": false,
351
- "notNull": true
352
- },
353
- "expires_at": {
354
- "name": "expires_at",
355
- "type": "timestamp with time zone",
356
- "primaryKey": false,
357
- "notNull": true
358
- },
359
- "last_used_at": {
360
- "name": "last_used_at",
361
- "type": "timestamp with time zone",
362
- "primaryKey": false,
363
- "notNull": false
364
- },
365
- "revoked_at": {
366
- "name": "revoked_at",
367
- "type": "timestamp with time zone",
368
- "primaryKey": false,
369
- "notNull": false
370
- }
371
- },
372
- "indexes": {
373
- "junior_api_tokens_token_hash_uidx": {
374
- "name": "junior_api_tokens_token_hash_uidx",
375
- "columns": [
376
- {
377
- "expression": "token_hash",
378
- "isExpression": false,
379
- "asc": true,
380
- "nulls": "last"
381
- }
382
- ],
383
- "isUnique": true,
384
- "concurrently": false,
385
- "method": "btree",
386
- "with": {}
387
- },
388
- "junior_api_tokens_owner_email_idx": {
389
- "name": "junior_api_tokens_owner_email_idx",
390
- "columns": [
391
- {
392
- "expression": "owner_email_normalized",
393
- "isExpression": false,
394
- "asc": true,
395
- "nulls": "last"
396
- }
397
- ],
398
- "isUnique": false,
399
- "concurrently": false,
400
- "method": "btree",
401
- "with": {}
402
- }
403
- },
404
- "foreignKeys": {},
405
- "compositePrimaryKeys": {},
406
- "uniqueConstraints": {},
407
- "policies": {},
408
- "checkConstraints": {},
409
- "isRLSEnabled": false
410
- },
411
- "public.junior_artifacts": {
412
- "name": "junior_artifacts",
413
- "schema": "",
414
- "columns": {
415
- "id": {
416
- "name": "id",
417
- "type": "text",
418
- "primaryKey": true,
419
- "notNull": true
420
- },
421
- "conversation_id": {
422
- "name": "conversation_id",
423
- "type": "text",
424
- "primaryKey": false,
425
- "notNull": true
426
- },
427
- "sha256": {
428
- "name": "sha256",
429
- "type": "text",
430
- "primaryKey": false,
431
- "notNull": true
432
- },
433
- "ext": {
434
- "name": "ext",
435
- "type": "text",
436
- "primaryKey": false,
437
- "notNull": true
438
- },
439
- "storage_key": {
440
- "name": "storage_key",
441
- "type": "text",
442
- "primaryKey": false,
443
- "notNull": true
444
- },
445
- "content_type": {
446
- "name": "content_type",
447
- "type": "text",
448
- "primaryKey": false,
449
- "notNull": true
450
- },
451
- "bytes": {
452
- "name": "bytes",
453
- "type": "integer",
454
- "primaryKey": false,
455
- "notNull": true
456
- },
457
- "public": {
458
- "name": "public",
459
- "type": "boolean",
460
- "primaryKey": false,
461
- "notNull": true
462
- },
463
- "created_at": {
464
- "name": "created_at",
465
- "type": "timestamp with time zone",
466
- "primaryKey": false,
467
- "notNull": true
468
- },
469
- "delete_requested_at": {
470
- "name": "delete_requested_at",
471
- "type": "timestamp with time zone",
472
- "primaryKey": false,
473
- "notNull": false
474
- }
475
- },
476
- "indexes": {
477
- "junior_artifacts_conversation_sha_uidx": {
478
- "name": "junior_artifacts_conversation_sha_uidx",
479
- "columns": [
480
- {
481
- "expression": "conversation_id",
482
- "isExpression": false,
483
- "asc": true,
484
- "nulls": "last"
485
- },
486
- {
487
- "expression": "sha256",
488
- "isExpression": false,
489
- "asc": true,
490
- "nulls": "last"
491
- }
492
- ],
493
- "isUnique": true,
494
- "concurrently": false,
495
- "method": "btree",
496
- "with": {}
497
- },
498
- "junior_artifacts_gc_idx": {
499
- "name": "junior_artifacts_gc_idx",
500
- "columns": [
501
- {
502
- "expression": "delete_requested_at",
503
- "isExpression": false,
504
- "asc": true,
505
- "nulls": "last"
506
- },
507
- {
508
- "expression": "created_at",
509
- "isExpression": false,
510
- "asc": true,
511
- "nulls": "last"
512
- }
513
- ],
514
- "isUnique": false,
515
- "concurrently": false,
516
- "method": "btree",
517
- "with": {}
518
- },
519
- "junior_artifacts_conversation_idx": {
520
- "name": "junior_artifacts_conversation_idx",
521
- "columns": [
522
- {
523
- "expression": "conversation_id",
524
- "isExpression": false,
525
- "asc": true,
526
- "nulls": "last"
527
- }
528
- ],
529
- "isUnique": false,
530
- "concurrently": false,
531
- "method": "btree",
532
- "with": {}
533
- }
534
- },
535
- "foreignKeys": {},
536
- "compositePrimaryKeys": {},
537
- "uniqueConstraints": {},
538
- "policies": {},
539
- "checkConstraints": {},
540
- "isRLSEnabled": false
541
- },
542
- "public.junior_attachments": {
543
- "name": "junior_attachments",
544
- "schema": "",
545
- "columns": {
546
- "id": {
547
- "name": "id",
548
- "type": "text",
549
- "primaryKey": true,
550
- "notNull": true
551
- },
552
- "conversation_id": {
553
- "name": "conversation_id",
554
- "type": "text",
555
- "primaryKey": false,
556
- "notNull": true
557
- },
558
- "storage_provider": {
559
- "name": "storage_provider",
560
- "type": "text",
561
- "primaryKey": false,
562
- "notNull": true
563
- },
564
- "storage_key": {
565
- "name": "storage_key",
566
- "type": "text",
567
- "primaryKey": false,
568
- "notNull": true
569
- },
570
- "provider": {
571
- "name": "provider",
572
- "type": "text",
573
- "primaryKey": false,
574
- "notNull": false
575
- },
576
- "provider_id": {
577
- "name": "provider_id",
578
- "type": "text",
579
- "primaryKey": false,
580
- "notNull": false
581
- },
582
- "filename": {
583
- "name": "filename",
584
- "type": "text",
585
- "primaryKey": false,
586
- "notNull": true
587
- },
588
- "content_type": {
589
- "name": "content_type",
590
- "type": "text",
591
- "primaryKey": false,
592
- "notNull": true
593
- },
594
- "bytes": {
595
- "name": "bytes",
596
- "type": "integer",
597
- "primaryKey": false,
598
- "notNull": true
599
- },
600
- "sha256": {
601
- "name": "sha256",
602
- "type": "text",
603
- "primaryKey": false,
604
- "notNull": true
605
- },
606
- "vision_summary": {
607
- "name": "vision_summary",
608
- "type": "text",
609
- "primaryKey": false,
610
- "notNull": false
611
- },
612
- "created_at": {
613
- "name": "created_at",
614
- "type": "timestamp with time zone",
615
- "primaryKey": false,
616
- "notNull": true
617
- },
618
- "delete_requested_at": {
619
- "name": "delete_requested_at",
620
- "type": "timestamp with time zone",
621
- "primaryKey": false,
622
- "notNull": false
623
- }
624
- },
625
- "indexes": {
626
- "junior_attachments_conversation_idx": {
627
- "name": "junior_attachments_conversation_idx",
628
- "columns": [
629
- {
630
- "expression": "conversation_id",
631
- "isExpression": false,
632
- "asc": true,
633
- "nulls": "last"
634
- }
635
- ],
636
- "isUnique": false,
637
- "concurrently": false,
638
- "method": "btree",
639
- "with": {}
640
- },
641
- "junior_attachments_provider_idx": {
642
- "name": "junior_attachments_provider_idx",
643
- "columns": [
644
- {
645
- "expression": "conversation_id",
646
- "isExpression": false,
647
- "asc": true,
648
- "nulls": "last"
649
- },
650
- {
651
- "expression": "provider",
652
- "isExpression": false,
653
- "asc": true,
654
- "nulls": "last"
655
- },
656
- {
657
- "expression": "provider_id",
658
- "isExpression": false,
659
- "asc": true,
660
- "nulls": "last"
661
- }
662
- ],
663
- "isUnique": false,
664
- "concurrently": false,
665
- "method": "btree",
666
- "with": {}
667
- },
668
- "junior_attachments_gc_idx": {
669
- "name": "junior_attachments_gc_idx",
670
- "columns": [
671
- {
672
- "expression": "storage_provider",
673
- "isExpression": false,
674
- "asc": true,
675
- "nulls": "last"
676
- },
677
- {
678
- "expression": "delete_requested_at",
679
- "isExpression": false,
680
- "asc": true,
681
- "nulls": "last"
682
- },
683
- {
684
- "expression": "created_at",
685
- "isExpression": false,
686
- "asc": true,
687
- "nulls": "last"
688
- }
689
- ],
690
- "isUnique": false,
691
- "concurrently": false,
692
- "method": "btree",
693
- "with": {}
694
- }
695
- },
696
- "foreignKeys": {
697
- "junior_attachments_conversation_id_junior_conversations_conversation_id_fk": {
698
- "name": "junior_attachments_conversation_id_junior_conversations_conversation_id_fk",
699
- "tableFrom": "junior_attachments",
700
- "tableTo": "junior_conversations",
701
- "columnsFrom": [
702
- "conversation_id"
703
- ],
704
- "columnsTo": [
705
- "conversation_id"
706
- ],
707
- "onDelete": "cascade",
708
- "onUpdate": "no action"
709
- }
710
- },
711
- "compositePrimaryKeys": {},
712
- "uniqueConstraints": {},
713
- "policies": {},
714
- "checkConstraints": {},
715
- "isRLSEnabled": false
716
- },
717
- "public.junior_task_executions": {
718
- "name": "junior_task_executions",
719
- "schema": "",
720
- "columns": {
721
- "execution_id": {
722
- "name": "execution_id",
723
- "type": "text",
724
- "primaryKey": false,
725
- "notNull": true
726
- },
727
- "kind": {
728
- "name": "kind",
729
- "type": "text",
730
- "primaryKey": false,
731
- "notNull": true
732
- },
733
- "namespace": {
734
- "name": "namespace",
735
- "type": "text",
736
- "primaryKey": false,
737
- "notNull": true
738
- },
739
- "task_id": {
740
- "name": "task_id",
741
- "type": "text",
742
- "primaryKey": false,
743
- "notNull": true
744
- },
745
- "conversation_id": {
746
- "name": "conversation_id",
747
- "type": "text",
748
- "primaryKey": false,
749
- "notNull": false
750
- },
751
- "executed_at_ms": {
752
- "name": "executed_at_ms",
753
- "type": "bigint",
754
- "primaryKey": false,
755
- "notNull": true
756
- },
757
- "status": {
758
- "name": "status",
759
- "type": "text",
760
- "primaryKey": false,
761
- "notNull": true
762
- }
763
- },
764
- "indexes": {
765
- "junior_task_executions_task_time_idx": {
766
- "name": "junior_task_executions_task_time_idx",
767
- "columns": [
768
- {
769
- "expression": "kind",
770
- "isExpression": false,
771
- "asc": true,
772
- "nulls": "last"
773
- },
774
- {
775
- "expression": "namespace",
776
- "isExpression": false,
777
- "asc": true,
778
- "nulls": "last"
779
- },
780
- {
781
- "expression": "task_id",
782
- "isExpression": false,
783
- "asc": true,
784
- "nulls": "last"
785
- },
786
- {
787
- "expression": "executed_at_ms",
788
- "isExpression": false,
789
- "asc": true,
790
- "nulls": "last"
791
- }
792
- ],
793
- "isUnique": false,
794
- "concurrently": false,
795
- "method": "btree",
796
- "with": {}
797
- },
798
- "junior_task_executions_time_kind_idx": {
799
- "name": "junior_task_executions_time_kind_idx",
800
- "columns": [
801
- {
802
- "expression": "executed_at_ms",
803
- "isExpression": false,
804
- "asc": true,
805
- "nulls": "last"
806
- },
807
- {
808
- "expression": "kind",
809
- "isExpression": false,
810
- "asc": true,
811
- "nulls": "last"
812
- }
813
- ],
814
- "isUnique": false,
815
- "concurrently": false,
816
- "method": "btree",
817
- "with": {}
818
- },
819
- "junior_task_executions_conversation_time_idx": {
820
- "name": "junior_task_executions_conversation_time_idx",
821
- "columns": [
822
- {
823
- "expression": "conversation_id",
824
- "isExpression": false,
825
- "asc": true,
826
- "nulls": "last"
827
- },
828
- {
829
- "expression": "executed_at_ms",
830
- "isExpression": false,
831
- "asc": true,
832
- "nulls": "last"
833
- }
834
- ],
835
- "isUnique": false,
836
- "concurrently": false,
837
- "method": "btree",
838
- "with": {}
839
- }
840
- },
841
- "foreignKeys": {
842
- "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk": {
843
- "name": "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk",
844
- "tableFrom": "junior_task_executions",
845
- "tableTo": "junior_conversations",
846
- "columnsFrom": [
847
- "conversation_id"
848
- ],
849
- "columnsTo": [
850
- "conversation_id"
851
- ],
852
- "onDelete": "no action",
853
- "onUpdate": "no action"
854
- }
855
- },
856
- "compositePrimaryKeys": {
857
- "junior_task_executions_kind_namespace_execution_id_pk": {
858
- "name": "junior_task_executions_kind_namespace_execution_id_pk",
859
- "columns": [
860
- "kind",
861
- "namespace",
862
- "execution_id"
863
- ]
864
- }
865
- },
866
- "uniqueConstraints": {},
867
- "policies": {},
868
- "checkConstraints": {
869
- "junior_task_executions_kind_check": {
870
- "name": "junior_task_executions_kind_check",
871
- "value": "\"junior_task_executions\".\"kind\" in ('scheduled', 'event')"
872
- },
873
- "junior_task_executions_status_check": {
874
- "name": "junior_task_executions_status_check",
875
- "value": "\"junior_task_executions\".\"status\" in ('blocked', 'completed', 'failed')"
876
- }
877
- },
878
- "isRLSEnabled": false
879
- },
880
- "public.junior_automation_versions": {
881
- "name": "junior_automation_versions",
882
- "schema": "",
883
- "columns": {
884
- "kind": {
885
- "name": "kind",
886
- "type": "text",
887
- "primaryKey": false,
888
- "notNull": true
889
- },
890
- "automation_id": {
891
- "name": "automation_id",
892
- "type": "text",
893
- "primaryKey": false,
894
- "notNull": true
895
- },
896
- "version": {
897
- "name": "version",
898
- "type": "integer",
899
- "primaryKey": false,
900
- "notNull": true
901
- },
902
- "created_at_ms": {
903
- "name": "created_at_ms",
904
- "type": "bigint",
905
- "primaryKey": false,
906
- "notNull": true
907
- },
908
- "edited_by": {
909
- "name": "edited_by",
910
- "type": "jsonb",
911
- "primaryKey": false,
912
- "notNull": false
913
- },
914
- "definition": {
915
- "name": "definition",
916
- "type": "jsonb",
917
- "primaryKey": false,
918
- "notNull": true
919
- }
920
- },
921
- "indexes": {},
922
- "foreignKeys": {},
923
- "compositePrimaryKeys": {
924
- "junior_automation_versions_pk": {
925
- "name": "junior_automation_versions_pk",
926
- "columns": [
927
- "kind",
928
- "automation_id",
929
- "version"
930
- ]
931
- }
932
- },
933
- "uniqueConstraints": {},
934
- "policies": {},
935
- "checkConstraints": {
936
- "junior_automation_versions_kind_check": {
937
- "name": "junior_automation_versions_kind_check",
938
- "value": "\"junior_automation_versions\".\"kind\" in ('scheduled', 'event')"
939
- }
940
- },
941
- "isRLSEnabled": false
942
- },
943
- "public.junior_code_changes": {
944
- "name": "junior_code_changes",
945
- "schema": "",
946
- "columns": {
947
- "id": {
948
- "name": "id",
949
- "type": "uuid",
950
- "primaryKey": true,
951
- "notNull": true
952
- },
953
- "closed_at": {
954
- "name": "closed_at",
955
- "type": "timestamp with time zone",
956
- "primaryKey": false,
957
- "notNull": false
958
- },
959
- "conversation_ids": {
960
- "name": "conversation_ids",
961
- "type": "text[]",
962
- "primaryKey": false,
963
- "notNull": true,
964
- "default": "ARRAY[]::text[]"
965
- },
966
- "merged_at": {
967
- "name": "merged_at",
968
- "type": "timestamp with time zone",
969
- "primaryKey": false,
970
- "notNull": false
971
- },
972
- "number": {
973
- "name": "number",
974
- "type": "integer",
975
- "primaryKey": false,
976
- "notNull": true
977
- },
978
- "opened_at": {
979
- "name": "opened_at",
980
- "type": "timestamp with time zone",
981
- "primaryKey": false,
982
- "notNull": true
983
- },
984
- "provider": {
985
- "name": "provider",
986
- "type": "text",
987
- "primaryKey": false,
988
- "notNull": true
989
- },
990
- "provider_id": {
991
- "name": "provider_id",
992
- "type": "text",
993
- "primaryKey": false,
994
- "notNull": true
995
- },
996
- "repository_id": {
997
- "name": "repository_id",
998
- "type": "uuid",
999
- "primaryKey": false,
1000
- "notNull": true
1001
- },
1002
- "state": {
1003
- "name": "state",
1004
- "type": "text",
1005
- "primaryKey": false,
1006
- "notNull": true
1007
- },
1008
- "title": {
1009
- "name": "title",
1010
- "type": "text",
1011
- "primaryKey": false,
1012
- "notNull": false
1013
- },
1014
- "updated_at": {
1015
- "name": "updated_at",
1016
- "type": "timestamp with time zone",
1017
- "primaryKey": false,
1018
- "notNull": true
1019
- },
1020
- "url": {
1021
- "name": "url",
1022
- "type": "text",
1023
- "primaryKey": false,
1024
- "notNull": false
1025
- }
1026
- },
1027
- "indexes": {
1028
- "junior_code_changes_provider_id_idx": {
1029
- "name": "junior_code_changes_provider_id_idx",
1030
- "columns": [
1031
- {
1032
- "expression": "provider",
1033
- "isExpression": false,
1034
- "asc": true,
1035
- "nulls": "last"
1036
- },
1037
- {
1038
- "expression": "provider_id",
1039
- "isExpression": false,
1040
- "asc": true,
1041
- "nulls": "last"
1042
- }
1043
- ],
1044
- "isUnique": true,
1045
- "concurrently": false,
1046
- "method": "btree",
1047
- "with": {}
1048
- },
1049
- "junior_code_changes_opened_at_idx": {
1050
- "name": "junior_code_changes_opened_at_idx",
1051
- "columns": [
1052
- {
1053
- "expression": "opened_at",
1054
- "isExpression": false,
1055
- "asc": true,
1056
- "nulls": "last"
1057
- }
1058
- ],
1059
- "isUnique": false,
1060
- "concurrently": false,
1061
- "method": "btree",
1062
- "with": {}
1063
- },
1064
- "junior_code_changes_merged_at_idx": {
1065
- "name": "junior_code_changes_merged_at_idx",
1066
- "columns": [
1067
- {
1068
- "expression": "merged_at",
1069
- "isExpression": false,
1070
- "asc": true,
1071
- "nulls": "last"
1072
- }
1073
- ],
1074
- "isUnique": false,
1075
- "concurrently": false,
1076
- "method": "btree",
1077
- "with": {}
1078
- },
1079
- "junior_code_changes_closed_at_idx": {
1080
- "name": "junior_code_changes_closed_at_idx",
1081
- "columns": [
1082
- {
1083
- "expression": "closed_at",
1084
- "isExpression": false,
1085
- "asc": true,
1086
- "nulls": "last"
1087
- }
1088
- ],
1089
- "isUnique": false,
1090
- "concurrently": false,
1091
- "method": "btree",
1092
- "with": {}
1093
- },
1094
- "junior_code_changes_open_idx": {
1095
- "name": "junior_code_changes_open_idx",
1096
- "columns": [
1097
- {
1098
- "expression": "id",
1099
- "isExpression": false,
1100
- "asc": true,
1101
- "nulls": "last"
1102
- }
1103
- ],
1104
- "isUnique": false,
1105
- "where": "\"junior_code_changes\".\"state\" = 'open'",
1106
- "concurrently": false,
1107
- "method": "btree",
1108
- "with": {}
1109
- }
1110
- },
1111
- "foreignKeys": {
1112
- "junior_code_changes_repository_id_junior_code_repositories_id_fk": {
1113
- "name": "junior_code_changes_repository_id_junior_code_repositories_id_fk",
1114
- "tableFrom": "junior_code_changes",
1115
- "tableTo": "junior_code_repositories",
1116
- "columnsFrom": [
1117
- "repository_id"
1118
- ],
1119
- "columnsTo": [
1120
- "id"
1121
- ],
1122
- "onDelete": "cascade",
1123
- "onUpdate": "no action"
1124
- }
1125
- },
1126
- "compositePrimaryKeys": {},
1127
- "uniqueConstraints": {},
1128
- "policies": {},
1129
- "checkConstraints": {},
1130
- "isRLSEnabled": false
1131
- },
1132
- "public.junior_code_repositories": {
1133
- "name": "junior_code_repositories",
1134
- "schema": "",
1135
- "columns": {
1136
- "id": {
1137
- "name": "id",
1138
- "type": "uuid",
1139
- "primaryKey": true,
1140
- "notNull": true
1141
- },
1142
- "name": {
1143
- "name": "name",
1144
- "type": "text",
1145
- "primaryKey": false,
1146
- "notNull": true
1147
- },
1148
- "provider": {
1149
- "name": "provider",
1150
- "type": "text",
1151
- "primaryKey": false,
1152
- "notNull": true
1153
- },
1154
- "provider_id": {
1155
- "name": "provider_id",
1156
- "type": "text",
1157
- "primaryKey": false,
1158
- "notNull": true
1159
- },
1160
- "url": {
1161
- "name": "url",
1162
- "type": "text",
1163
- "primaryKey": false,
1164
- "notNull": false
1165
- },
1166
- "updated_at": {
1167
- "name": "updated_at",
1168
- "type": "timestamp with time zone",
1169
- "primaryKey": false,
1170
- "notNull": true
1171
- }
1172
- },
1173
- "indexes": {
1174
- "junior_code_repositories_provider_id_idx": {
1175
- "name": "junior_code_repositories_provider_id_idx",
1176
- "columns": [
1177
- {
1178
- "expression": "provider",
1179
- "isExpression": false,
1180
- "asc": true,
1181
- "nulls": "last"
1182
- },
1183
- {
1184
- "expression": "provider_id",
1185
- "isExpression": false,
1186
- "asc": true,
1187
- "nulls": "last"
1188
- }
1189
- ],
1190
- "isUnique": true,
1191
- "concurrently": false,
1192
- "method": "btree",
1193
- "with": {}
1194
- }
1195
- },
1196
- "foreignKeys": {},
1197
- "compositePrimaryKeys": {},
1198
- "uniqueConstraints": {},
1199
- "policies": {},
1200
- "checkConstraints": {},
1201
- "isRLSEnabled": false
1202
- },
1203
- "public.junior_conversation_annotations": {
1204
- "name": "junior_conversation_annotations",
1205
- "schema": "",
1206
- "columns": {
1207
- "conversation_id": {
1208
- "name": "conversation_id",
1209
- "type": "text",
1210
- "primaryKey": false,
1211
- "notNull": true
1212
- },
1213
- "plugin": {
1214
- "name": "plugin",
1215
- "type": "text",
1216
- "primaryKey": false,
1217
- "notNull": true
1218
- },
1219
- "kind": {
1220
- "name": "kind",
1221
- "type": "text",
1222
- "primaryKey": false,
1223
- "notNull": true
1224
- },
1225
- "key": {
1226
- "name": "key",
1227
- "type": "text",
1228
- "primaryKey": false,
1229
- "notNull": true
1230
- },
1231
- "annotation_json": {
1232
- "name": "annotation_json",
1233
- "type": "jsonb",
1234
- "primaryKey": false,
1235
- "notNull": true
1236
- },
1237
- "created_at": {
1238
- "name": "created_at",
1239
- "type": "timestamp with time zone",
1240
- "primaryKey": false,
1241
- "notNull": true
1242
- },
1243
- "updated_at": {
1244
- "name": "updated_at",
1245
- "type": "timestamp with time zone",
1246
- "primaryKey": false,
1247
- "notNull": true
1248
- }
1249
- },
1250
- "indexes": {},
1251
- "foreignKeys": {
1252
- "junior_conversation_annotations_conversation_id_fk": {
1253
- "name": "junior_conversation_annotations_conversation_id_fk",
1254
- "tableFrom": "junior_conversation_annotations",
1255
- "tableTo": "junior_conversations",
1256
- "columnsFrom": [
1257
- "conversation_id"
1258
- ],
1259
- "columnsTo": [
1260
- "conversation_id"
1261
- ],
1262
- "onDelete": "cascade",
1263
- "onUpdate": "no action"
1264
- }
1265
- },
1266
- "compositePrimaryKeys": {
1267
- "junior_conversation_annotations_pk": {
1268
- "name": "junior_conversation_annotations_pk",
1269
- "columns": [
1270
- "conversation_id",
1271
- "plugin",
1272
- "kind",
1273
- "key"
1274
- ]
1275
- }
1276
- },
1277
- "uniqueConstraints": {},
1278
- "policies": {},
1279
- "checkConstraints": {},
1280
- "isRLSEnabled": false
1281
- },
1282
- "public.junior_conversation_bindings": {
1283
- "name": "junior_conversation_bindings",
1284
- "schema": "",
1285
- "columns": {
1286
- "conversation_id": {
1287
- "name": "conversation_id",
1288
- "type": "text",
1289
- "primaryKey": false,
1290
- "notNull": true
1291
- },
1292
- "provider": {
1293
- "name": "provider",
1294
- "type": "text",
1295
- "primaryKey": false,
1296
- "notNull": true
1297
- },
1298
- "provider_tenant_id": {
1299
- "name": "provider_tenant_id",
1300
- "type": "text",
1301
- "primaryKey": false,
1302
- "notNull": true,
1303
- "default": "''"
1304
- },
1305
- "provider_destination_id": {
1306
- "name": "provider_destination_id",
1307
- "type": "text",
1308
- "primaryKey": false,
1309
- "notNull": true
1310
- },
1311
- "provider_conversation_id": {
1312
- "name": "provider_conversation_id",
1313
- "type": "text",
1314
- "primaryKey": false,
1315
- "notNull": true
1316
- },
1317
- "created_at": {
1318
- "name": "created_at",
1319
- "type": "timestamp with time zone",
1320
- "primaryKey": false,
1321
- "notNull": true
1322
- }
1323
- },
1324
- "indexes": {
1325
- "junior_conversation_bindings_conversation_idx": {
1326
- "name": "junior_conversation_bindings_conversation_idx",
1327
- "columns": [
1328
- {
1329
- "expression": "conversation_id",
1330
- "isExpression": false,
1331
- "asc": true,
1332
- "nulls": "last"
1333
- }
1334
- ],
1335
- "isUnique": false,
1336
- "concurrently": false,
1337
- "method": "btree",
1338
- "with": {}
1339
- }
1340
- },
1341
- "foreignKeys": {
1342
- "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk": {
1343
- "name": "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk",
1344
- "tableFrom": "junior_conversation_bindings",
1345
- "tableTo": "junior_conversations",
1346
- "columnsFrom": [
1347
- "conversation_id"
1348
- ],
1349
- "columnsTo": [
1350
- "conversation_id"
1351
- ],
1352
- "onDelete": "no action",
1353
- "onUpdate": "no action"
1354
- }
1355
- },
1356
- "compositePrimaryKeys": {
1357
- "junior_conversation_bindings_provider_conversation_pk": {
1358
- "name": "junior_conversation_bindings_provider_conversation_pk",
1359
- "columns": [
1360
- "provider",
1361
- "provider_tenant_id",
1362
- "provider_destination_id",
1363
- "provider_conversation_id"
1364
- ]
1365
- }
1366
- },
1367
- "uniqueConstraints": {},
1368
- "policies": {},
1369
- "checkConstraints": {},
1370
- "isRLSEnabled": false
1371
- },
1372
- "public.junior_conversation_briefs": {
1373
- "name": "junior_conversation_briefs",
1374
- "schema": "",
1375
- "columns": {
1376
- "conversation_id": {
1377
- "name": "conversation_id",
1378
- "type": "text",
1379
- "primaryKey": false,
1380
- "notNull": true
1381
- },
1382
- "version": {
1383
- "name": "version",
1384
- "type": "integer",
1385
- "primaryKey": false,
1386
- "notNull": true
1387
- },
1388
- "turn_id": {
1389
- "name": "turn_id",
1390
- "type": "text",
1391
- "primaryKey": false,
1392
- "notNull": true
1393
- },
1394
- "through_seq": {
1395
- "name": "through_seq",
1396
- "type": "integer",
1397
- "primaryKey": false,
1398
- "notNull": true
1399
- },
1400
- "content": {
1401
- "name": "content",
1402
- "type": "jsonb",
1403
- "primaryKey": false,
1404
- "notNull": true
1405
- },
1406
- "search_text": {
1407
- "name": "search_text",
1408
- "type": "text",
1409
- "primaryKey": false,
1410
- "notNull": true
1411
- },
1412
- "model_id": {
1413
- "name": "model_id",
1414
- "type": "text",
1415
- "primaryKey": false,
1416
- "notNull": true
1417
- },
1418
- "cost_usd": {
1419
- "name": "cost_usd",
1420
- "type": "double precision",
1421
- "primaryKey": false,
1422
- "notNull": false
1423
- },
1424
- "created_at": {
1425
- "name": "created_at",
1426
- "type": "timestamp with time zone",
1427
- "primaryKey": false,
1428
- "notNull": true,
1429
- "default": "now()"
1430
- }
1431
- },
1432
- "indexes": {
1433
- "junior_conversation_briefs_conversation_turn_idx": {
1434
- "name": "junior_conversation_briefs_conversation_turn_idx",
1435
- "columns": [
1436
- {
1437
- "expression": "conversation_id",
1438
- "isExpression": false,
1439
- "asc": true,
1440
- "nulls": "last"
1441
- },
1442
- {
1443
- "expression": "turn_id",
1444
- "isExpression": false,
1445
- "asc": true,
1446
- "nulls": "last"
1447
- }
1448
- ],
1449
- "isUnique": true,
1450
- "concurrently": false,
1451
- "method": "btree",
1452
- "with": {}
1453
- },
1454
- "junior_conversation_briefs_conversation_version_idx": {
1455
- "name": "junior_conversation_briefs_conversation_version_idx",
1456
- "columns": [
1457
- {
1458
- "expression": "conversation_id",
1459
- "isExpression": false,
1460
- "asc": true,
1461
- "nulls": "last"
1462
- },
1463
- {
1464
- "expression": "version",
1465
- "isExpression": false,
1466
- "asc": false,
1467
- "nulls": "last"
1468
- }
1469
- ],
1470
- "isUnique": false,
1471
- "concurrently": false,
1472
- "method": "btree",
1473
- "with": {}
1474
- },
1475
- "junior_conversation_briefs_search_idx": {
1476
- "name": "junior_conversation_briefs_search_idx",
1477
- "columns": [
1478
- {
1479
- "expression": "to_tsvector('english', \"search_text\")",
1480
- "asc": true,
1481
- "isExpression": true,
1482
- "nulls": "last"
1483
- }
1484
- ],
1485
- "isUnique": false,
1486
- "concurrently": false,
1487
- "method": "gin",
1488
- "with": {}
1489
- }
1490
- },
1491
- "foreignKeys": {
1492
- "junior_conversation_briefs_conversation_id_junior_conversations_conversation_id_fk": {
1493
- "name": "junior_conversation_briefs_conversation_id_junior_conversations_conversation_id_fk",
1494
- "tableFrom": "junior_conversation_briefs",
1495
- "tableTo": "junior_conversations",
1496
- "columnsFrom": [
1497
- "conversation_id"
1498
- ],
1499
- "columnsTo": [
1500
- "conversation_id"
1501
- ],
1502
- "onDelete": "cascade",
1503
- "onUpdate": "no action"
1504
- }
1505
- },
1506
- "compositePrimaryKeys": {
1507
- "junior_conversation_briefs_conversation_id_version_pk": {
1508
- "name": "junior_conversation_briefs_conversation_id_version_pk",
1509
- "columns": [
1510
- "conversation_id",
1511
- "version"
1512
- ]
1513
- }
1514
- },
1515
- "uniqueConstraints": {},
1516
- "policies": {},
1517
- "checkConstraints": {},
1518
- "isRLSEnabled": false
1519
- },
1520
- "public.junior_conversation_events": {
1521
- "name": "junior_conversation_events",
1522
- "schema": "",
1523
- "columns": {
1524
- "conversation_id": {
1525
- "name": "conversation_id",
1526
- "type": "text",
1527
- "primaryKey": false,
1528
- "notNull": true
1529
- },
1530
- "seq": {
1531
- "name": "seq",
1532
- "type": "integer",
1533
- "primaryKey": false,
1534
- "notNull": true
1535
- },
1536
- "history_version": {
1537
- "name": "history_version",
1538
- "type": "integer",
1539
- "primaryKey": false,
1540
- "notNull": true
1541
- },
1542
- "schema_version": {
1543
- "name": "schema_version",
1544
- "type": "integer",
1545
- "primaryKey": false,
1546
- "notNull": true,
1547
- "default": 1
1548
- },
1549
- "idempotency_key": {
1550
- "name": "idempotency_key",
1551
- "type": "text",
1552
- "primaryKey": false,
1553
- "notNull": false
1554
- },
1555
- "type": {
1556
- "name": "type",
1557
- "type": "text",
1558
- "primaryKey": false,
1559
- "notNull": true
1560
- },
1561
- "payload": {
1562
- "name": "payload",
1563
- "type": "jsonb",
1564
- "primaryKey": false,
1565
- "notNull": true
1566
- },
1567
- "actor_identity_id": {
1568
- "name": "actor_identity_id",
1569
- "type": "text",
1570
- "primaryKey": false,
1571
- "notNull": false
1572
- },
1573
- "created_at": {
1574
- "name": "created_at",
1575
- "type": "timestamp with time zone",
1576
- "primaryKey": false,
1577
- "notNull": true
1578
- }
1579
- },
1580
- "indexes": {
1581
- "junior_conversation_events_history_version_idx": {
1582
- "name": "junior_conversation_events_history_version_idx",
1583
- "columns": [
1584
- {
1585
- "expression": "conversation_id",
1586
- "isExpression": false,
1587
- "asc": true,
1588
- "nulls": "last"
1589
- },
1590
- {
1591
- "expression": "history_version",
1592
- "isExpression": false,
1593
- "asc": true,
1594
- "nulls": "last"
1595
- },
1596
- {
1597
- "expression": "seq",
1598
- "isExpression": false,
1599
- "asc": true,
1600
- "nulls": "last"
1601
- }
1602
- ],
1603
- "isUnique": false,
1604
- "concurrently": false,
1605
- "method": "btree",
1606
- "with": {}
1607
- },
1608
- "junior_conversation_events_type_idx": {
1609
- "name": "junior_conversation_events_type_idx",
1610
- "columns": [
1611
- {
1612
- "expression": "conversation_id",
1613
- "isExpression": false,
1614
- "asc": true,
1615
- "nulls": "last"
1616
- },
1617
- {
1618
- "expression": "type",
1619
- "isExpression": false,
1620
- "asc": true,
1621
- "nulls": "last"
1622
- },
1623
- {
1624
- "expression": "seq",
1625
- "isExpression": false,
1626
- "asc": true,
1627
- "nulls": "last"
1628
- }
1629
- ],
1630
- "isUnique": false,
1631
- "concurrently": false,
1632
- "method": "btree",
1633
- "with": {}
1634
- },
1635
- "junior_conversation_events_actor_identity_idx": {
1636
- "name": "junior_conversation_events_actor_identity_idx",
1637
- "columns": [
1638
- {
1639
- "expression": "actor_identity_id",
1640
- "isExpression": false,
1641
- "asc": true,
1642
- "nulls": "last"
1643
- },
1644
- {
1645
- "expression": "conversation_id",
1646
- "isExpression": false,
1647
- "asc": true,
1648
- "nulls": "last"
1649
- },
1650
- {
1651
- "expression": "seq",
1652
- "isExpression": false,
1653
- "asc": true,
1654
- "nulls": "last"
1655
- }
1656
- ],
1657
- "isUnique": false,
1658
- "concurrently": false,
1659
- "method": "btree",
1660
- "with": {}
1661
- },
1662
- "junior_conversation_events_message_search_idx": {
1663
- "name": "junior_conversation_events_message_search_idx",
1664
- "columns": [
1665
- {
1666
- "expression": "to_tsvector('english', \"payload\"->>'text')",
1667
- "asc": true,
1668
- "isExpression": true,
1669
- "nulls": "last"
1670
- }
1671
- ],
1672
- "isUnique": false,
1673
- "where": "\"junior_conversation_events\".\"type\" = 'message'",
1674
- "concurrently": false,
1675
- "method": "gin",
1676
- "with": {}
1677
- },
1678
- "junior_conversation_events_idempotency_idx": {
1679
- "name": "junior_conversation_events_idempotency_idx",
1680
- "columns": [
1681
- {
1682
- "expression": "conversation_id",
1683
- "isExpression": false,
1684
- "asc": true,
1685
- "nulls": "last"
1686
- },
1687
- {
1688
- "expression": "idempotency_key",
1689
- "isExpression": false,
1690
- "asc": true,
1691
- "nulls": "last"
1692
- }
1693
- ],
1694
- "isUnique": true,
1695
- "concurrently": false,
1696
- "method": "btree",
1697
- "with": {}
1698
- }
1699
- },
1700
- "foreignKeys": {
1701
- "junior_conversation_events_actor_identity_id_junior_identities_id_fk": {
1702
- "name": "junior_conversation_events_actor_identity_id_junior_identities_id_fk",
1703
- "tableFrom": "junior_conversation_events",
1704
- "tableTo": "junior_identities",
1705
- "columnsFrom": [
1706
- "actor_identity_id"
1707
- ],
1708
- "columnsTo": [
1709
- "id"
1710
- ],
1711
- "onDelete": "no action",
1712
- "onUpdate": "no action"
1713
- },
1714
- "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk": {
1715
- "name": "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk",
1716
- "tableFrom": "junior_conversation_events",
1717
- "tableTo": "junior_conversations",
1718
- "columnsFrom": [
1719
- "conversation_id"
1720
- ],
1721
- "columnsTo": [
1722
- "conversation_id"
1723
- ],
1724
- "onDelete": "no action",
1725
- "onUpdate": "no action"
1726
- }
1727
- },
1728
- "compositePrimaryKeys": {
1729
- "junior_conversation_events_conversation_id_seq_pk": {
1730
- "name": "junior_conversation_events_conversation_id_seq_pk",
1731
- "columns": [
1732
- "conversation_id",
1733
- "seq"
1734
- ]
1735
- }
1736
- },
1737
- "uniqueConstraints": {},
1738
- "policies": {},
1739
- "checkConstraints": {},
1740
- "isRLSEnabled": false
1741
- },
1742
- "public.junior_conversation_metrics": {
1743
- "name": "junior_conversation_metrics",
1744
- "schema": "",
1745
- "columns": {
1746
- "conversation_id": {
1747
- "name": "conversation_id",
1748
- "type": "text",
1749
- "primaryKey": false,
1750
- "notNull": true
1751
- },
1752
- "run_id": {
1753
- "name": "run_id",
1754
- "type": "text",
1755
- "primaryKey": false,
1756
- "notNull": true
1757
- },
1758
- "metric": {
1759
- "name": "metric",
1760
- "type": "text",
1761
- "primaryKey": false,
1762
- "notNull": true
1763
- },
1764
- "value": {
1765
- "name": "value",
1766
- "type": "double precision",
1767
- "primaryKey": false,
1768
- "notNull": true
1769
- },
1770
- "occurred_at": {
1771
- "name": "occurred_at",
1772
- "type": "timestamp with time zone",
1773
- "primaryKey": false,
1774
- "notNull": true
1775
- },
1776
- "updated_at": {
1777
- "name": "updated_at",
1778
- "type": "timestamp with time zone",
1779
- "primaryKey": false,
1780
- "notNull": true
1781
- }
1782
- },
1783
- "indexes": {
1784
- "junior_conversation_metrics_occurred_at_metric_idx": {
1785
- "name": "junior_conversation_metrics_occurred_at_metric_idx",
1786
- "columns": [
1787
- {
1788
- "expression": "occurred_at",
1789
- "isExpression": false,
1790
- "asc": true,
1791
- "nulls": "last"
1792
- },
1793
- {
1794
- "expression": "metric",
1795
- "isExpression": false,
1796
- "asc": true,
1797
- "nulls": "last"
1798
- }
1799
- ],
1800
- "isUnique": false,
1801
- "concurrently": false,
1802
- "method": "btree",
1803
- "with": {}
1804
- }
1805
- },
1806
- "foreignKeys": {
1807
- "junior_conversation_metrics_conversation_id_junior_conversations_conversation_id_fk": {
1808
- "name": "junior_conversation_metrics_conversation_id_junior_conversations_conversation_id_fk",
1809
- "tableFrom": "junior_conversation_metrics",
1810
- "tableTo": "junior_conversations",
1811
- "columnsFrom": [
1812
- "conversation_id"
1813
- ],
1814
- "columnsTo": [
1815
- "conversation_id"
1816
- ],
1817
- "onDelete": "no action",
1818
- "onUpdate": "no action"
1819
- }
1820
- },
1821
- "compositePrimaryKeys": {
1822
- "junior_conversation_metrics_conversation_id_run_id_metric_pk": {
1823
- "name": "junior_conversation_metrics_conversation_id_run_id_metric_pk",
1824
- "columns": [
1825
- "conversation_id",
1826
- "run_id",
1827
- "metric"
1828
- ]
1829
- }
1830
- },
1831
- "uniqueConstraints": {},
1832
- "policies": {},
1833
- "checkConstraints": {},
1834
- "isRLSEnabled": false
1835
- },
1836
- "public.junior_conversation_participants": {
1837
- "name": "junior_conversation_participants",
1838
- "schema": "",
1839
- "columns": {
1840
- "user_id": {
1841
- "name": "user_id",
1842
- "type": "text",
1843
- "primaryKey": false,
1844
- "notNull": true
1845
- },
1846
- "root_conversation_id": {
1847
- "name": "root_conversation_id",
1848
- "type": "text",
1849
- "primaryKey": false,
1850
- "notNull": true
1851
- },
1852
- "last_message_at": {
1853
- "name": "last_message_at",
1854
- "type": "timestamp with time zone",
1855
- "primaryKey": false,
1856
- "notNull": true
1857
- },
1858
- "archived_at": {
1859
- "name": "archived_at",
1860
- "type": "timestamp with time zone",
1861
- "primaryKey": false,
1862
- "notNull": false
1863
- }
1864
- },
1865
- "indexes": {
1866
- "junior_conversation_participants_user_activity_idx": {
1867
- "name": "junior_conversation_participants_user_activity_idx",
1868
- "columns": [
1869
- {
1870
- "expression": "user_id",
1871
- "isExpression": false,
1872
- "asc": true,
1873
- "nulls": "last"
1874
- },
1875
- {
1876
- "expression": "last_message_at",
1877
- "isExpression": false,
1878
- "asc": false,
1879
- "nulls": "last"
1880
- }
1881
- ],
1882
- "isUnique": false,
1883
- "concurrently": false,
1884
- "method": "btree",
1885
- "with": {}
1886
- },
1887
- "junior_conversation_participants_root_idx": {
1888
- "name": "junior_conversation_participants_root_idx",
1889
- "columns": [
1890
- {
1891
- "expression": "root_conversation_id",
1892
- "isExpression": false,
1893
- "asc": true,
1894
- "nulls": "last"
1895
- }
1896
- ],
1897
- "isUnique": false,
1898
- "concurrently": false,
1899
- "method": "btree",
1900
- "with": {}
1901
- }
1902
- },
1903
- "foreignKeys": {
1904
- "junior_conversation_participants_user_id_junior_users_id_fk": {
1905
- "name": "junior_conversation_participants_user_id_junior_users_id_fk",
1906
- "tableFrom": "junior_conversation_participants",
1907
- "tableTo": "junior_users",
1908
- "columnsFrom": [
1909
- "user_id"
1910
- ],
1911
- "columnsTo": [
1912
- "id"
1913
- ],
1914
- "onDelete": "no action",
1915
- "onUpdate": "no action"
1916
- },
1917
- "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk": {
1918
- "name": "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk",
1919
- "tableFrom": "junior_conversation_participants",
1920
- "tableTo": "junior_conversations",
1921
- "columnsFrom": [
1922
- "root_conversation_id"
1923
- ],
1924
- "columnsTo": [
1925
- "conversation_id"
1926
- ],
1927
- "onDelete": "no action",
1928
- "onUpdate": "no action"
1929
- }
1930
- },
1931
- "compositePrimaryKeys": {
1932
- "junior_conversation_participants_user_root_pk": {
1933
- "name": "junior_conversation_participants_user_root_pk",
1934
- "columns": [
1935
- "user_id",
1936
- "root_conversation_id"
1937
- ]
1938
- }
1939
- },
1940
- "uniqueConstraints": {},
1941
- "policies": {},
1942
- "checkConstraints": {},
1943
- "isRLSEnabled": false
1944
- },
1945
- "public.junior_conversations": {
1946
- "name": "junior_conversations",
1947
- "schema": "",
1948
- "columns": {
1949
- "conversation_id": {
1950
- "name": "conversation_id",
1951
- "type": "text",
1952
- "primaryKey": true,
1953
- "notNull": true
1954
- },
1955
- "schema_version": {
1956
- "name": "schema_version",
1957
- "type": "integer",
1958
- "primaryKey": false,
1959
- "notNull": true,
1960
- "default": 1
1961
- },
1962
- "source": {
1963
- "name": "source",
1964
- "type": "text",
1965
- "primaryKey": false,
1966
- "notNull": false
1967
- },
1968
- "source_json": {
1969
- "name": "source_json",
1970
- "type": "jsonb",
1971
- "primaryKey": false,
1972
- "notNull": false
1973
- },
1974
- "origin_type": {
1975
- "name": "origin_type",
1976
- "type": "text",
1977
- "primaryKey": false,
1978
- "notNull": false
1979
- },
1980
- "origin_id": {
1981
- "name": "origin_id",
1982
- "type": "text",
1983
- "primaryKey": false,
1984
- "notNull": false
1985
- },
1986
- "origin_run_id": {
1987
- "name": "origin_run_id",
1988
- "type": "text",
1989
- "primaryKey": false,
1990
- "notNull": false
1991
- },
1992
- "location_json": {
1993
- "name": "location_json",
1994
- "type": "jsonb",
1995
- "primaryKey": false,
1996
- "notNull": false
1997
- },
1998
- "destination_id": {
1999
- "name": "destination_id",
2000
- "type": "text",
2001
- "primaryKey": false,
2002
- "notNull": false
2003
- },
2004
- "destination_json": {
2005
- "name": "destination_json",
2006
- "type": "jsonb",
2007
- "primaryKey": false,
2008
- "notNull": false
2009
- },
2010
- "actor_identity_id": {
2011
- "name": "actor_identity_id",
2012
- "type": "text",
2013
- "primaryKey": false,
2014
- "notNull": false
2015
- },
2016
- "creator_identity_id": {
2017
- "name": "creator_identity_id",
2018
- "type": "text",
2019
- "primaryKey": false,
2020
- "notNull": false
2021
- },
2022
- "credential_subject_identity_id": {
2023
- "name": "credential_subject_identity_id",
2024
- "type": "text",
2025
- "primaryKey": false,
2026
- "notNull": false
2027
- },
2028
- "actor_json": {
2029
- "name": "actor_json",
2030
- "type": "jsonb",
2031
- "primaryKey": false,
2032
- "notNull": false
2033
- },
2034
- "channel_name": {
2035
- "name": "channel_name",
2036
- "type": "text",
2037
- "primaryKey": false,
2038
- "notNull": false
2039
- },
2040
- "title": {
2041
- "name": "title",
2042
- "type": "text",
2043
- "primaryKey": false,
2044
- "notNull": false
2045
- },
2046
- "created_at": {
2047
- "name": "created_at",
2048
- "type": "timestamp with time zone",
2049
- "primaryKey": false,
2050
- "notNull": true
2051
- },
2052
- "last_activity_at": {
2053
- "name": "last_activity_at",
2054
- "type": "timestamp with time zone",
2055
- "primaryKey": false,
2056
- "notNull": true
2057
- },
2058
- "updated_at": {
2059
- "name": "updated_at",
2060
- "type": "timestamp with time zone",
2061
- "primaryKey": false,
2062
- "notNull": true
2063
- },
2064
- "execution_updated_at": {
2065
- "name": "execution_updated_at",
2066
- "type": "timestamp with time zone",
2067
- "primaryKey": false,
2068
- "notNull": false
2069
- },
2070
- "execution_status": {
2071
- "name": "execution_status",
2072
- "type": "text",
2073
- "primaryKey": false,
2074
- "notNull": true
2075
- },
2076
- "run_id": {
2077
- "name": "run_id",
2078
- "type": "text",
2079
- "primaryKey": false,
2080
- "notNull": false
2081
- },
2082
- "last_checkpoint_at": {
2083
- "name": "last_checkpoint_at",
2084
- "type": "timestamp with time zone",
2085
- "primaryKey": false,
2086
- "notNull": false
2087
- },
2088
- "last_enqueued_at": {
2089
- "name": "last_enqueued_at",
2090
- "type": "timestamp with time zone",
2091
- "primaryKey": false,
2092
- "notNull": false
2093
- },
2094
- "parent_conversation_id": {
2095
- "name": "parent_conversation_id",
2096
- "type": "text",
2097
- "primaryKey": false,
2098
- "notNull": false
2099
- },
2100
- "forked_from_conversation_id": {
2101
- "name": "forked_from_conversation_id",
2102
- "type": "text",
2103
- "primaryKey": false,
2104
- "notNull": false
2105
- },
2106
- "root_conversation_id": {
2107
- "name": "root_conversation_id",
2108
- "type": "text",
2109
- "primaryKey": false,
2110
- "notNull": false
2111
- },
2112
- "transcript_purged_at": {
2113
- "name": "transcript_purged_at",
2114
- "type": "timestamp with time zone",
2115
- "primaryKey": false,
2116
- "notNull": false
2117
- },
2118
- "duration_ms": {
2119
- "name": "duration_ms",
2120
- "type": "integer",
2121
- "primaryKey": false,
2122
- "notNull": true,
2123
- "default": 0
2124
- },
2125
- "usage_json": {
2126
- "name": "usage_json",
2127
- "type": "jsonb",
2128
- "primaryKey": false,
2129
- "notNull": false
2130
- },
2131
- "execution_duration_ms": {
2132
- "name": "execution_duration_ms",
2133
- "type": "integer",
2134
- "primaryKey": false,
2135
- "notNull": true,
2136
- "default": 0
2137
- },
2138
- "execution_usage_json": {
2139
- "name": "execution_usage_json",
2140
- "type": "jsonb",
2141
- "primaryKey": false,
2142
- "notNull": false
2143
- },
2144
- "metric_run_id": {
2145
- "name": "metric_run_id",
2146
- "type": "text",
2147
- "primaryKey": false,
2148
- "notNull": false
2149
- },
2150
- "archived_at": {
2151
- "name": "archived_at",
2152
- "type": "timestamp with time zone",
2153
- "primaryKey": false,
2154
- "notNull": false
2155
- }
2156
- },
2157
- "indexes": {
2158
- "junior_conversations_last_activity_idx": {
2159
- "name": "junior_conversations_last_activity_idx",
2160
- "columns": [
2161
- {
2162
- "expression": "last_activity_at",
2163
- "isExpression": false,
2164
- "asc": false,
2165
- "nulls": "last"
2166
- },
2167
- {
2168
- "expression": "conversation_id",
2169
- "isExpression": false,
2170
- "asc": true,
2171
- "nulls": "last"
2172
- }
2173
- ],
2174
- "isUnique": false,
2175
- "concurrently": false,
2176
- "method": "btree",
2177
- "with": {}
2178
- },
2179
- "junior_conversations_active_idx": {
2180
- "name": "junior_conversations_active_idx",
2181
- "columns": [
2182
- {
2183
- "expression": "coalesce(\"execution_updated_at\", \"updated_at\")",
2184
- "asc": true,
2185
- "isExpression": true,
2186
- "nulls": "last"
2187
- },
2188
- {
2189
- "expression": "conversation_id",
2190
- "isExpression": false,
2191
- "asc": true,
2192
- "nulls": "last"
2193
- }
2194
- ],
2195
- "isUnique": false,
2196
- "where": "\"junior_conversations\".\"execution_status\" <> 'idle'",
2197
- "concurrently": false,
2198
- "method": "btree",
2199
- "with": {}
2200
- },
2201
- "junior_conversations_destination_activity_idx": {
2202
- "name": "junior_conversations_destination_activity_idx",
2203
- "columns": [
2204
- {
2205
- "expression": "destination_id",
2206
- "isExpression": false,
2207
- "asc": true,
2208
- "nulls": "last"
2209
- },
2210
- {
2211
- "expression": "last_activity_at",
2212
- "isExpression": false,
2213
- "asc": false,
2214
- "nulls": "last"
2215
- }
2216
- ],
2217
- "isUnique": false,
2218
- "concurrently": false,
2219
- "method": "btree",
2220
- "with": {}
2221
- },
2222
- "junior_conversations_actor_activity_idx": {
2223
- "name": "junior_conversations_actor_activity_idx",
2224
- "columns": [
2225
- {
2226
- "expression": "actor_identity_id",
2227
- "isExpression": false,
2228
- "asc": true,
2229
- "nulls": "last"
2230
- },
2231
- {
2232
- "expression": "last_activity_at",
2233
- "isExpression": false,
2234
- "asc": false,
2235
- "nulls": "last"
2236
- }
2237
- ],
2238
- "isUnique": false,
2239
- "concurrently": false,
2240
- "method": "btree",
2241
- "with": {}
2242
- },
2243
- "junior_conversations_origin_idx": {
2244
- "name": "junior_conversations_origin_idx",
2245
- "columns": [
2246
- {
2247
- "expression": "origin_type",
2248
- "isExpression": false,
2249
- "asc": true,
2250
- "nulls": "last"
2251
- },
2252
- {
2253
- "expression": "origin_id",
2254
- "isExpression": false,
2255
- "asc": true,
2256
- "nulls": "last"
2257
- },
2258
- {
2259
- "expression": "last_activity_at",
2260
- "isExpression": false,
2261
- "asc": false,
2262
- "nulls": "last"
2263
- }
2264
- ],
2265
- "isUnique": false,
2266
- "concurrently": false,
2267
- "method": "btree",
2268
- "with": {}
2269
- },
2270
- "junior_conversations_parent_idx": {
2271
- "name": "junior_conversations_parent_idx",
2272
- "columns": [
2273
- {
2274
- "expression": "parent_conversation_id",
2275
- "isExpression": false,
2276
- "asc": true,
2277
- "nulls": "last"
2278
- }
2279
- ],
2280
- "isUnique": false,
2281
- "concurrently": false,
2282
- "method": "btree",
2283
- "with": {}
2284
- },
2285
- "junior_conversations_forked_from_idx": {
2286
- "name": "junior_conversations_forked_from_idx",
2287
- "columns": [
2288
- {
2289
- "expression": "forked_from_conversation_id",
2290
- "isExpression": false,
2291
- "asc": true,
2292
- "nulls": "last"
2293
- }
2294
- ],
2295
- "isUnique": false,
2296
- "concurrently": false,
2297
- "method": "btree",
2298
- "with": {}
2299
- },
2300
- "junior_conversations_root_idx": {
2301
- "name": "junior_conversations_root_idx",
2302
- "columns": [
2303
- {
2304
- "expression": "root_conversation_id",
2305
- "isExpression": false,
2306
- "asc": true,
2307
- "nulls": "last"
2308
- }
2309
- ],
2310
- "isUnique": false,
2311
- "concurrently": false,
2312
- "method": "btree",
2313
- "with": {}
2314
- }
2315
- },
2316
- "foreignKeys": {
2317
- "junior_conversations_destination_id_junior_destinations_id_fk": {
2318
- "name": "junior_conversations_destination_id_junior_destinations_id_fk",
2319
- "tableFrom": "junior_conversations",
2320
- "tableTo": "junior_destinations",
2321
- "columnsFrom": [
2322
- "destination_id"
2323
- ],
2324
- "columnsTo": [
2325
- "id"
2326
- ],
2327
- "onDelete": "no action",
2328
- "onUpdate": "no action"
2329
- },
2330
- "junior_conversations_actor_identity_id_junior_identities_id_fk": {
2331
- "name": "junior_conversations_actor_identity_id_junior_identities_id_fk",
2332
- "tableFrom": "junior_conversations",
2333
- "tableTo": "junior_identities",
2334
- "columnsFrom": [
2335
- "actor_identity_id"
2336
- ],
2337
- "columnsTo": [
2338
- "id"
2339
- ],
2340
- "onDelete": "no action",
2341
- "onUpdate": "no action"
2342
- },
2343
- "junior_conversations_creator_identity_id_junior_identities_id_fk": {
2344
- "name": "junior_conversations_creator_identity_id_junior_identities_id_fk",
2345
- "tableFrom": "junior_conversations",
2346
- "tableTo": "junior_identities",
2347
- "columnsFrom": [
2348
- "creator_identity_id"
2349
- ],
2350
- "columnsTo": [
2351
- "id"
2352
- ],
2353
- "onDelete": "no action",
2354
- "onUpdate": "no action"
2355
- },
2356
- "junior_conversations_credential_subject_identity_id_junior_identities_id_fk": {
2357
- "name": "junior_conversations_credential_subject_identity_id_junior_identities_id_fk",
2358
- "tableFrom": "junior_conversations",
2359
- "tableTo": "junior_identities",
2360
- "columnsFrom": [
2361
- "credential_subject_identity_id"
2362
- ],
2363
- "columnsTo": [
2364
- "id"
2365
- ],
2366
- "onDelete": "no action",
2367
- "onUpdate": "no action"
2368
- },
2369
- "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk": {
2370
- "name": "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk",
2371
- "tableFrom": "junior_conversations",
2372
- "tableTo": "junior_conversations",
2373
- "columnsFrom": [
2374
- "parent_conversation_id"
2375
- ],
2376
- "columnsTo": [
2377
- "conversation_id"
2378
- ],
2379
- "onDelete": "no action",
2380
- "onUpdate": "no action"
2381
- },
2382
- "junior_conversations_forked_from_conversation_id_junior_conversations_conversation_id_fk": {
2383
- "name": "junior_conversations_forked_from_conversation_id_junior_conversations_conversation_id_fk",
2384
- "tableFrom": "junior_conversations",
2385
- "tableTo": "junior_conversations",
2386
- "columnsFrom": [
2387
- "forked_from_conversation_id"
2388
- ],
2389
- "columnsTo": [
2390
- "conversation_id"
2391
- ],
2392
- "onDelete": "set null",
2393
- "onUpdate": "no action"
2394
- },
2395
- "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk": {
2396
- "name": "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk",
2397
- "tableFrom": "junior_conversations",
2398
- "tableTo": "junior_conversations",
2399
- "columnsFrom": [
2400
- "root_conversation_id"
2401
- ],
2402
- "columnsTo": [
2403
- "conversation_id"
2404
- ],
2405
- "onDelete": "no action",
2406
- "onUpdate": "no action"
2407
- }
2408
- },
2409
- "compositePrimaryKeys": {},
2410
- "uniqueConstraints": {},
2411
- "policies": {},
2412
- "checkConstraints": {},
2413
- "isRLSEnabled": false
2414
- },
2415
- "public.junior_destinations": {
2416
- "name": "junior_destinations",
2417
- "schema": "",
2418
- "columns": {
2419
- "id": {
2420
- "name": "id",
2421
- "type": "text",
2422
- "primaryKey": true,
2423
- "notNull": true
2424
- },
2425
- "provider": {
2426
- "name": "provider",
2427
- "type": "text",
2428
- "primaryKey": false,
2429
- "notNull": true
2430
- },
2431
- "provider_tenant_id": {
2432
- "name": "provider_tenant_id",
2433
- "type": "text",
2434
- "primaryKey": false,
2435
- "notNull": true,
2436
- "default": "''"
2437
- },
2438
- "provider_destination_id": {
2439
- "name": "provider_destination_id",
2440
- "type": "text",
2441
- "primaryKey": false,
2442
- "notNull": true
2443
- },
2444
- "kind": {
2445
- "name": "kind",
2446
- "type": "text",
2447
- "primaryKey": false,
2448
- "notNull": true
2449
- },
2450
- "parent_destination_id": {
2451
- "name": "parent_destination_id",
2452
- "type": "text",
2453
- "primaryKey": false,
2454
- "notNull": false
2455
- },
2456
- "display_name": {
2457
- "name": "display_name",
2458
- "type": "text",
2459
- "primaryKey": false,
2460
- "notNull": false
2461
- },
2462
- "visibility": {
2463
- "name": "visibility",
2464
- "type": "text",
2465
- "primaryKey": false,
2466
- "notNull": true,
2467
- "default": "'unknown'"
2468
- },
2469
- "metadata_json": {
2470
- "name": "metadata_json",
2471
- "type": "jsonb",
2472
- "primaryKey": false,
2473
- "notNull": false
2474
- },
2475
- "created_at": {
2476
- "name": "created_at",
2477
- "type": "timestamp with time zone",
2478
- "primaryKey": false,
2479
- "notNull": true
2480
- },
2481
- "updated_at": {
2482
- "name": "updated_at",
2483
- "type": "timestamp with time zone",
2484
- "primaryKey": false,
2485
- "notNull": true
2486
- }
2487
- },
2488
- "indexes": {
2489
- "junior_destinations_provider_destination_uidx": {
2490
- "name": "junior_destinations_provider_destination_uidx",
2491
- "columns": [
2492
- {
2493
- "expression": "provider",
2494
- "isExpression": false,
2495
- "asc": true,
2496
- "nulls": "last"
2497
- },
2498
- {
2499
- "expression": "provider_tenant_id",
2500
- "isExpression": false,
2501
- "asc": true,
2502
- "nulls": "last"
2503
- },
2504
- {
2505
- "expression": "provider_destination_id",
2506
- "isExpression": false,
2507
- "asc": true,
2508
- "nulls": "last"
2509
- }
2510
- ],
2511
- "isUnique": true,
2512
- "concurrently": false,
2513
- "method": "btree",
2514
- "with": {}
2515
- },
2516
- "junior_destinations_provider_kind_idx": {
2517
- "name": "junior_destinations_provider_kind_idx",
2518
- "columns": [
2519
- {
2520
- "expression": "provider",
2521
- "isExpression": false,
2522
- "asc": true,
2523
- "nulls": "last"
2524
- },
2525
- {
2526
- "expression": "kind",
2527
- "isExpression": false,
2528
- "asc": true,
2529
- "nulls": "last"
2530
- }
2531
- ],
2532
- "isUnique": false,
2533
- "concurrently": false,
2534
- "method": "btree",
2535
- "with": {}
2536
- }
2537
- },
2538
- "foreignKeys": {},
2539
- "compositePrimaryKeys": {},
2540
- "uniqueConstraints": {},
2541
- "policies": {},
2542
- "checkConstraints": {},
2543
- "isRLSEnabled": false
2544
- },
2545
- "public.junior_event_tasks": {
2546
- "name": "junior_event_tasks",
2547
- "schema": "",
2548
- "columns": {
2549
- "id": {
2550
- "name": "id",
2551
- "type": "text",
2552
- "primaryKey": true,
2553
- "notNull": true
2554
- },
2555
- "team_id": {
2556
- "name": "team_id",
2557
- "type": "text",
2558
- "primaryKey": false,
2559
- "notNull": true
2560
- },
2561
- "namespace": {
2562
- "name": "namespace",
2563
- "type": "text",
2564
- "primaryKey": false,
2565
- "notNull": true
2566
- },
2567
- "identifier": {
2568
- "name": "identifier",
2569
- "type": "text",
2570
- "primaryKey": false,
2571
- "notNull": true
2572
- },
2573
- "created_at_ms": {
2574
- "name": "created_at_ms",
2575
- "type": "bigint",
2576
- "primaryKey": false,
2577
- "notNull": true
2578
- },
2579
- "status": {
2580
- "name": "status",
2581
- "type": "text",
2582
- "primaryKey": false,
2583
- "notNull": true,
2584
- "default": "'active'"
2585
- },
2586
- "status_reason": {
2587
- "name": "status_reason",
2588
- "type": "text",
2589
- "primaryKey": false,
2590
- "notNull": false
2591
- },
2592
- "title": {
2593
- "name": "title",
2594
- "type": "text",
2595
- "primaryKey": false,
2596
- "notNull": false
2597
- },
2598
- "task_json": {
2599
- "name": "task_json",
2600
- "type": "jsonb",
2601
- "primaryKey": false,
2602
- "notNull": true
2603
- }
2604
- },
2605
- "indexes": {
2606
- "junior_event_tasks_team_idx": {
2607
- "name": "junior_event_tasks_team_idx",
2608
- "columns": [
2609
- {
2610
- "expression": "team_id",
2611
- "isExpression": false,
2612
- "asc": true,
2613
- "nulls": "last"
2614
- },
2615
- {
2616
- "expression": "created_at_ms",
2617
- "isExpression": false,
2618
- "asc": true,
2619
- "nulls": "last"
2620
- },
2621
- {
2622
- "expression": "id",
2623
- "isExpression": false,
2624
- "asc": true,
2625
- "nulls": "last"
2626
- }
2627
- ],
2628
- "isUnique": false,
2629
- "where": "\"junior_event_tasks\".\"status\" <> 'deleted'",
2630
- "concurrently": false,
2631
- "method": "btree",
2632
- "with": {}
2633
- },
2634
- "junior_event_tasks_match_idx": {
2635
- "name": "junior_event_tasks_match_idx",
2636
- "columns": [
2637
- {
2638
- "expression": "namespace",
2639
- "isExpression": false,
2640
- "asc": true,
2641
- "nulls": "last"
2642
- },
2643
- {
2644
- "expression": "identifier",
2645
- "isExpression": false,
2646
- "asc": true,
2647
- "nulls": "last"
2648
- },
2649
- {
2650
- "expression": "created_at_ms",
2651
- "isExpression": false,
2652
- "asc": true,
2653
- "nulls": "last"
2654
- },
2655
- {
2656
- "expression": "id",
2657
- "isExpression": false,
2658
- "asc": true,
2659
- "nulls": "last"
2660
- }
2661
- ],
2662
- "isUnique": false,
2663
- "where": "\"junior_event_tasks\".\"status\" <> 'deleted'",
2664
- "concurrently": false,
2665
- "method": "btree",
2666
- "with": {}
2667
- }
2668
- },
2669
- "foreignKeys": {},
2670
- "compositePrimaryKeys": {},
2671
- "uniqueConstraints": {},
2672
- "policies": {},
2673
- "checkConstraints": {},
2674
- "isRLSEnabled": false
2675
- },
2676
- "public.junior_identities": {
2677
- "name": "junior_identities",
2678
- "schema": "",
2679
- "columns": {
2680
- "id": {
2681
- "name": "id",
2682
- "type": "text",
2683
- "primaryKey": true,
2684
- "notNull": true
2685
- },
2686
- "kind": {
2687
- "name": "kind",
2688
- "type": "text",
2689
- "primaryKey": false,
2690
- "notNull": true
2691
- },
2692
- "provider": {
2693
- "name": "provider",
2694
- "type": "text",
2695
- "primaryKey": false,
2696
- "notNull": true
2697
- },
2698
- "provider_tenant_id": {
2699
- "name": "provider_tenant_id",
2700
- "type": "text",
2701
- "primaryKey": false,
2702
- "notNull": true,
2703
- "default": "''"
2704
- },
2705
- "provider_subject_id": {
2706
- "name": "provider_subject_id",
2707
- "type": "text",
2708
- "primaryKey": false,
2709
- "notNull": true
2710
- },
2711
- "display_name": {
2712
- "name": "display_name",
2713
- "type": "text",
2714
- "primaryKey": false,
2715
- "notNull": false
2716
- },
2717
- "handle": {
2718
- "name": "handle",
2719
- "type": "text",
2720
- "primaryKey": false,
2721
- "notNull": false
2722
- },
2723
- "email": {
2724
- "name": "email",
2725
- "type": "text",
2726
- "primaryKey": false,
2727
- "notNull": false
2728
- },
2729
- "avatar_url": {
2730
- "name": "avatar_url",
2731
- "type": "text",
2732
- "primaryKey": false,
2733
- "notNull": false
2734
- },
2735
- "metadata_json": {
2736
- "name": "metadata_json",
2737
- "type": "jsonb",
2738
- "primaryKey": false,
2739
- "notNull": false
2740
- },
2741
- "created_at": {
2742
- "name": "created_at",
2743
- "type": "timestamp with time zone",
2744
- "primaryKey": false,
2745
- "notNull": true
2746
- },
2747
- "updated_at": {
2748
- "name": "updated_at",
2749
- "type": "timestamp with time zone",
2750
- "primaryKey": false,
2751
- "notNull": true
2752
- },
2753
- "user_id": {
2754
- "name": "user_id",
2755
- "type": "text",
2756
- "primaryKey": false,
2757
- "notNull": false
2758
- },
2759
- "email_normalized": {
2760
- "name": "email_normalized",
2761
- "type": "text",
2762
- "primaryKey": false,
2763
- "notNull": false
2764
- },
2765
- "email_verified": {
2766
- "name": "email_verified",
2767
- "type": "boolean",
2768
- "primaryKey": false,
2769
- "notNull": true,
2770
- "default": false
2771
- }
2772
- },
2773
- "indexes": {
2774
- "junior_identities_provider_subject_uidx": {
2775
- "name": "junior_identities_provider_subject_uidx",
2776
- "columns": [
2777
- {
2778
- "expression": "provider",
2779
- "isExpression": false,
2780
- "asc": true,
2781
- "nulls": "last"
2782
- },
2783
- {
2784
- "expression": "provider_tenant_id",
2785
- "isExpression": false,
2786
- "asc": true,
2787
- "nulls": "last"
2788
- },
2789
- {
2790
- "expression": "provider_subject_id",
2791
- "isExpression": false,
2792
- "asc": true,
2793
- "nulls": "last"
2794
- }
2795
- ],
2796
- "isUnique": true,
2797
- "concurrently": false,
2798
- "method": "btree",
2799
- "with": {}
2800
- },
2801
- "junior_identities_user_idx": {
2802
- "name": "junior_identities_user_idx",
2803
- "columns": [
2804
- {
2805
- "expression": "user_id",
2806
- "isExpression": false,
2807
- "asc": true,
2808
- "nulls": "last"
2809
- }
2810
- ],
2811
- "isUnique": false,
2812
- "concurrently": false,
2813
- "method": "btree",
2814
- "with": {}
2815
- },
2816
- "junior_identities_verified_email_idx": {
2817
- "name": "junior_identities_verified_email_idx",
2818
- "columns": [
2819
- {
2820
- "expression": "email_normalized",
2821
- "isExpression": false,
2822
- "asc": true,
2823
- "nulls": "last"
2824
- }
2825
- ],
2826
- "isUnique": false,
2827
- "where": "\"junior_identities\".\"email_verified\" = true AND \"junior_identities\".\"email_normalized\" IS NOT NULL",
2828
- "concurrently": false,
2829
- "method": "btree",
2830
- "with": {}
2831
- },
2832
- "junior_identities_kind_provider_idx": {
2833
- "name": "junior_identities_kind_provider_idx",
2834
- "columns": [
2835
- {
2836
- "expression": "kind",
2837
- "isExpression": false,
2838
- "asc": true,
2839
- "nulls": "last"
2840
- },
2841
- {
2842
- "expression": "provider",
2843
- "isExpression": false,
2844
- "asc": true,
2845
- "nulls": "last"
2846
- }
2847
- ],
2848
- "isUnique": false,
2849
- "concurrently": false,
2850
- "method": "btree",
2851
- "with": {}
2852
- }
2853
- },
2854
- "foreignKeys": {
2855
- "junior_identities_user_id_junior_users_id_fk": {
2856
- "name": "junior_identities_user_id_junior_users_id_fk",
2857
- "tableFrom": "junior_identities",
2858
- "tableTo": "junior_users",
2859
- "columnsFrom": [
2860
- "user_id"
2861
- ],
2862
- "columnsTo": [
2863
- "id"
2864
- ],
2865
- "onDelete": "no action",
2866
- "onUpdate": "no action"
2867
- }
2868
- },
2869
- "compositePrimaryKeys": {},
2870
- "uniqueConstraints": {},
2871
- "policies": {},
2872
- "checkConstraints": {},
2873
- "isRLSEnabled": false
2874
- },
2875
- "public.junior_location_configurations": {
2876
- "name": "junior_location_configurations",
2877
- "schema": "",
2878
- "columns": {
2879
- "location_id": {
2880
- "name": "location_id",
2881
- "type": "text",
2882
- "primaryKey": false,
2883
- "notNull": true
2884
- },
2885
- "key": {
2886
- "name": "key",
2887
- "type": "text",
2888
- "primaryKey": false,
2889
- "notNull": true
2890
- },
2891
- "value": {
2892
- "name": "value",
2893
- "type": "text",
2894
- "primaryKey": false,
2895
- "notNull": true
2896
- },
2897
- "updated_at": {
2898
- "name": "updated_at",
2899
- "type": "timestamp with time zone",
2900
- "primaryKey": false,
2901
- "notNull": true
2902
- },
2903
- "updated_by": {
2904
- "name": "updated_by",
2905
- "type": "text",
2906
- "primaryKey": false,
2907
- "notNull": false
2908
- },
2909
- "source": {
2910
- "name": "source",
2911
- "type": "text",
2912
- "primaryKey": false,
2913
- "notNull": false
2914
- },
2915
- "expires_at": {
2916
- "name": "expires_at",
2917
- "type": "text",
2918
- "primaryKey": false,
2919
- "notNull": false
2920
- }
2921
- },
2922
- "indexes": {},
2923
- "foreignKeys": {
2924
- "junior_location_configurations_location_id_junior_destinations_id_fk": {
2925
- "name": "junior_location_configurations_location_id_junior_destinations_id_fk",
2926
- "tableFrom": "junior_location_configurations",
2927
- "tableTo": "junior_destinations",
2928
- "columnsFrom": [
2929
- "location_id"
2930
- ],
2931
- "columnsTo": [
2932
- "id"
2933
- ],
2934
- "onDelete": "cascade",
2935
- "onUpdate": "no action"
2936
- }
2937
- },
2938
- "compositePrimaryKeys": {
2939
- "junior_location_configurations_location_id_key_pk": {
2940
- "name": "junior_location_configurations_location_id_key_pk",
2941
- "columns": [
2942
- "location_id",
2943
- "key"
2944
- ]
2945
- }
2946
- },
2947
- "uniqueConstraints": {},
2948
- "policies": {},
2949
- "checkConstraints": {},
2950
- "isRLSEnabled": false
2951
- },
2952
- "public.junior_scheduler_runs": {
2953
- "name": "junior_scheduler_runs",
2954
- "schema": "",
2955
- "columns": {
2956
- "id": {
2957
- "name": "id",
2958
- "type": "text",
2959
- "primaryKey": true,
2960
- "notNull": true
2961
- },
2962
- "task_id": {
2963
- "name": "task_id",
2964
- "type": "text",
2965
- "primaryKey": false,
2966
- "notNull": true
2967
- },
2968
- "status": {
2969
- "name": "status",
2970
- "type": "text",
2971
- "primaryKey": false,
2972
- "notNull": true
2973
- },
2974
- "scheduled_for_ms": {
2975
- "name": "scheduled_for_ms",
2976
- "type": "bigint",
2977
- "primaryKey": false,
2978
- "notNull": true
2979
- },
2980
- "record": {
2981
- "name": "record",
2982
- "type": "jsonb",
2983
- "primaryKey": false,
2984
- "notNull": true
2985
- }
2986
- },
2987
- "indexes": {
2988
- "junior_scheduler_runs_task_status_idx": {
2989
- "name": "junior_scheduler_runs_task_status_idx",
2990
- "columns": [
2991
- {
2992
- "expression": "task_id",
2993
- "isExpression": false,
2994
- "asc": true,
2995
- "nulls": "last"
2996
- },
2997
- {
2998
- "expression": "status",
2999
- "isExpression": false,
3000
- "asc": true,
3001
- "nulls": "last"
3002
- },
3003
- {
3004
- "expression": "scheduled_for_ms",
3005
- "isExpression": false,
3006
- "asc": true,
3007
- "nulls": "last"
3008
- }
3009
- ],
3010
- "isUnique": false,
3011
- "concurrently": false,
3012
- "method": "btree",
3013
- "with": {}
3014
- },
3015
- "junior_scheduler_runs_status_idx": {
3016
- "name": "junior_scheduler_runs_status_idx",
3017
- "columns": [
3018
- {
3019
- "expression": "status",
3020
- "isExpression": false,
3021
- "asc": true,
3022
- "nulls": "last"
3023
- },
3024
- {
3025
- "expression": "scheduled_for_ms",
3026
- "isExpression": false,
3027
- "asc": true,
3028
- "nulls": "last"
3029
- }
3030
- ],
3031
- "isUnique": false,
3032
- "concurrently": false,
3033
- "method": "btree",
3034
- "with": {}
3035
- }
3036
- },
3037
- "foreignKeys": {},
3038
- "compositePrimaryKeys": {},
3039
- "uniqueConstraints": {},
3040
- "policies": {},
3041
- "checkConstraints": {},
3042
- "isRLSEnabled": false
3043
- },
3044
- "public.junior_scheduler_tasks": {
3045
- "name": "junior_scheduler_tasks",
3046
- "schema": "",
3047
- "columns": {
3048
- "id": {
3049
- "name": "id",
3050
- "type": "text",
3051
- "primaryKey": true,
3052
- "notNull": true
3053
- },
3054
- "team_id": {
3055
- "name": "team_id",
3056
- "type": "text",
3057
- "primaryKey": false,
3058
- "notNull": true
3059
- },
3060
- "creator_slack_user_id": {
3061
- "name": "creator_slack_user_id",
3062
- "type": "text",
3063
- "primaryKey": false,
3064
- "notNull": false
3065
- },
3066
- "creator_identity_id": {
3067
- "name": "creator_identity_id",
3068
- "type": "text",
3069
- "primaryKey": false,
3070
- "notNull": false
3071
- },
3072
- "status": {
3073
- "name": "status",
3074
- "type": "text",
3075
- "primaryKey": false,
3076
- "notNull": true
3077
- },
3078
- "next_run_at_ms": {
3079
- "name": "next_run_at_ms",
3080
- "type": "bigint",
3081
- "primaryKey": false,
3082
- "notNull": false
3083
- },
3084
- "run_now_at_ms": {
3085
- "name": "run_now_at_ms",
3086
- "type": "bigint",
3087
- "primaryKey": false,
3088
- "notNull": false
3089
- },
3090
- "created_at_ms": {
3091
- "name": "created_at_ms",
3092
- "type": "bigint",
3093
- "primaryKey": false,
3094
- "notNull": true
3095
- },
3096
- "title": {
3097
- "name": "title",
3098
- "type": "text",
3099
- "primaryKey": false,
3100
- "notNull": false
3101
- },
3102
- "record": {
3103
- "name": "record",
3104
- "type": "jsonb",
3105
- "primaryKey": false,
3106
- "notNull": true
3107
- }
3108
- },
3109
- "indexes": {
3110
- "junior_scheduler_tasks_creator_idx": {
3111
- "name": "junior_scheduler_tasks_creator_idx",
3112
- "columns": [
3113
- {
3114
- "expression": "team_id",
3115
- "isExpression": false,
3116
- "asc": true,
3117
- "nulls": "last"
3118
- },
3119
- {
3120
- "expression": "creator_slack_user_id",
3121
- "isExpression": false,
3122
- "asc": true,
3123
- "nulls": "last"
3124
- },
3125
- {
3126
- "expression": "created_at_ms",
3127
- "isExpression": false,
3128
- "asc": true,
3129
- "nulls": "last"
3130
- },
3131
- {
3132
- "expression": "id",
3133
- "isExpression": false,
3134
- "asc": true,
3135
- "nulls": "last"
3136
- }
3137
- ],
3138
- "isUnique": false,
3139
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
3140
- "concurrently": false,
3141
- "method": "btree",
3142
- "with": {}
3143
- },
3144
- "junior_scheduler_tasks_creator_identity_idx": {
3145
- "name": "junior_scheduler_tasks_creator_identity_idx",
3146
- "columns": [
3147
- {
3148
- "expression": "creator_identity_id",
3149
- "isExpression": false,
3150
- "asc": true,
3151
- "nulls": "last"
3152
- },
3153
- {
3154
- "expression": "created_at_ms",
3155
- "isExpression": false,
3156
- "asc": true,
3157
- "nulls": "last"
3158
- },
3159
- {
3160
- "expression": "id",
3161
- "isExpression": false,
3162
- "asc": true,
3163
- "nulls": "last"
3164
- }
3165
- ],
3166
- "isUnique": false,
3167
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted' AND \"junior_scheduler_tasks\".\"creator_identity_id\" IS NOT NULL",
3168
- "concurrently": false,
3169
- "method": "btree",
3170
- "with": {}
3171
- },
3172
- "junior_scheduler_tasks_team_status_idx": {
3173
- "name": "junior_scheduler_tasks_team_status_idx",
3174
- "columns": [
3175
- {
3176
- "expression": "team_id",
3177
- "isExpression": false,
3178
- "asc": true,
3179
- "nulls": "last"
3180
- },
3181
- {
3182
- "expression": "created_at_ms",
3183
- "isExpression": false,
3184
- "asc": true,
3185
- "nulls": "last"
3186
- },
3187
- {
3188
- "expression": "id",
3189
- "isExpression": false,
3190
- "asc": true,
3191
- "nulls": "last"
3192
- }
3193
- ],
3194
- "isUnique": false,
3195
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
3196
- "concurrently": false,
3197
- "method": "btree",
3198
- "with": {}
3199
- },
3200
- "junior_scheduler_tasks_run_now_due_idx": {
3201
- "name": "junior_scheduler_tasks_run_now_due_idx",
3202
- "columns": [
3203
- {
3204
- "expression": "run_now_at_ms",
3205
- "isExpression": false,
3206
- "asc": true,
3207
- "nulls": "last"
3208
- },
3209
- {
3210
- "expression": "created_at_ms",
3211
- "isExpression": false,
3212
- "asc": true,
3213
- "nulls": "last"
3214
- },
3215
- {
3216
- "expression": "id",
3217
- "isExpression": false,
3218
- "asc": true,
3219
- "nulls": "last"
3220
- }
3221
- ],
3222
- "isUnique": false,
3223
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"run_now_at_ms\" IS NOT NULL",
3224
- "concurrently": false,
3225
- "method": "btree",
3226
- "with": {}
3227
- },
3228
- "junior_scheduler_tasks_next_run_due_idx": {
3229
- "name": "junior_scheduler_tasks_next_run_due_idx",
3230
- "columns": [
3231
- {
3232
- "expression": "next_run_at_ms",
3233
- "isExpression": false,
3234
- "asc": true,
3235
- "nulls": "last"
3236
- },
3237
- {
3238
- "expression": "created_at_ms",
3239
- "isExpression": false,
3240
- "asc": true,
3241
- "nulls": "last"
3242
- },
3243
- {
3244
- "expression": "id",
3245
- "isExpression": false,
3246
- "asc": true,
3247
- "nulls": "last"
3248
- }
3249
- ],
3250
- "isUnique": false,
3251
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"next_run_at_ms\" IS NOT NULL",
3252
- "concurrently": false,
3253
- "method": "btree",
3254
- "with": {}
3255
- }
3256
- },
3257
- "foreignKeys": {},
3258
- "compositePrimaryKeys": {},
3259
- "uniqueConstraints": {},
3260
- "policies": {},
3261
- "checkConstraints": {},
3262
- "isRLSEnabled": false
3263
- },
3264
- "public.junior_snapshots": {
3265
- "name": "junior_snapshots",
3266
- "schema": "",
3267
- "columns": {
3268
- "id": {
3269
- "name": "id",
3270
- "type": "text",
3271
- "primaryKey": true,
3272
- "notNull": true
3273
- },
3274
- "workspace_id": {
3275
- "name": "workspace_id",
3276
- "type": "text",
3277
- "primaryKey": false,
3278
- "notNull": true
3279
- },
3280
- "profile_hash": {
3281
- "name": "profile_hash",
3282
- "type": "text",
3283
- "primaryKey": false,
3284
- "notNull": true
3285
- },
3286
- "status": {
3287
- "name": "status",
3288
- "type": "text",
3289
- "primaryKey": false,
3290
- "notNull": true
3291
- },
3292
- "snapshot_id": {
3293
- "name": "snapshot_id",
3294
- "type": "text",
3295
- "primaryKey": false,
3296
- "notNull": false
3297
- },
3298
- "build_duration_ms": {
3299
- "name": "build_duration_ms",
3300
- "type": "integer",
3301
- "primaryKey": false,
3302
- "notNull": false
3303
- },
3304
- "size_bytes": {
3305
- "name": "size_bytes",
3306
- "type": "bigint",
3307
- "primaryKey": false,
3308
- "notNull": false
3309
- },
3310
- "generated_at": {
3311
- "name": "generated_at",
3312
- "type": "timestamp with time zone",
3313
- "primaryKey": false,
3314
- "notNull": false
3315
- },
3316
- "build_started_at": {
3317
- "name": "build_started_at",
3318
- "type": "timestamp with time zone",
3319
- "primaryKey": false,
3320
- "notNull": false
3321
- },
3322
- "build_phase": {
3323
- "name": "build_phase",
3324
- "type": "text",
3325
- "primaryKey": false,
3326
- "notNull": false
3327
- },
3328
- "build_sandbox_name": {
3329
- "name": "build_sandbox_name",
3330
- "type": "text",
3331
- "primaryKey": false,
3332
- "notNull": false
3333
- },
3334
- "build_command_id": {
3335
- "name": "build_command_id",
3336
- "type": "text",
3337
- "primaryKey": false,
3338
- "notNull": false
3339
- },
3340
- "build_error": {
3341
- "name": "build_error",
3342
- "type": "text",
3343
- "primaryKey": false,
3344
- "notNull": false
3345
- },
3346
- "created_at": {
3347
- "name": "created_at",
3348
- "type": "timestamp with time zone",
3349
- "primaryKey": false,
3350
- "notNull": true
3351
- },
3352
- "updated_at": {
3353
- "name": "updated_at",
3354
- "type": "timestamp with time zone",
3355
- "primaryKey": false,
3356
- "notNull": true
3357
- }
3358
- },
3359
- "indexes": {
3360
- "junior_snapshots_snapshot_id_uidx": {
3361
- "name": "junior_snapshots_snapshot_id_uidx",
3362
- "columns": [
3363
- {
3364
- "expression": "snapshot_id",
3365
- "isExpression": false,
3366
- "asc": true,
3367
- "nulls": "last"
3368
- }
3369
- ],
3370
- "isUnique": true,
3371
- "concurrently": false,
3372
- "method": "btree",
3373
- "with": {}
3374
- },
3375
- "junior_snapshots_workspace_idx": {
3376
- "name": "junior_snapshots_workspace_idx",
3377
- "columns": [
3378
- {
3379
- "expression": "workspace_id",
3380
- "isExpression": false,
3381
- "asc": true,
3382
- "nulls": "last"
3383
- }
3384
- ],
3385
- "isUnique": false,
3386
- "concurrently": false,
3387
- "method": "btree",
3388
- "with": {}
3389
- },
3390
- "junior_snapshots_workspace_profile_status_idx": {
3391
- "name": "junior_snapshots_workspace_profile_status_idx",
3392
- "columns": [
3393
- {
3394
- "expression": "workspace_id",
3395
- "isExpression": false,
3396
- "asc": true,
3397
- "nulls": "last"
3398
- },
3399
- {
3400
- "expression": "profile_hash",
3401
- "isExpression": false,
3402
- "asc": true,
3403
- "nulls": "last"
3404
- },
3405
- {
3406
- "expression": "status",
3407
- "isExpression": false,
3408
- "asc": true,
3409
- "nulls": "last"
3410
- }
3411
- ],
3412
- "isUnique": false,
3413
- "concurrently": false,
3414
- "method": "btree",
3415
- "with": {}
3416
- },
3417
- "junior_snapshots_active_build_uidx": {
3418
- "name": "junior_snapshots_active_build_uidx",
3419
- "columns": [
3420
- {
3421
- "expression": "workspace_id",
3422
- "isExpression": false,
3423
- "asc": true,
3424
- "nulls": "last"
3425
- },
3426
- {
3427
- "expression": "profile_hash",
3428
- "isExpression": false,
3429
- "asc": true,
3430
- "nulls": "last"
3431
- }
3432
- ],
3433
- "isUnique": true,
3434
- "where": "\"junior_snapshots\".\"status\" = 'building'",
3435
- "concurrently": false,
3436
- "method": "btree",
3437
- "with": {}
3438
- },
3439
- "junior_snapshots_workspace_status_idx": {
3440
- "name": "junior_snapshots_workspace_status_idx",
3441
- "columns": [
3442
- {
3443
- "expression": "workspace_id",
3444
- "isExpression": false,
3445
- "asc": true,
3446
- "nulls": "last"
3447
- },
3448
- {
3449
- "expression": "status",
3450
- "isExpression": false,
3451
- "asc": true,
3452
- "nulls": "last"
3453
- }
3454
- ],
3455
- "isUnique": false,
3456
- "concurrently": false,
3457
- "method": "btree",
3458
- "with": {}
3459
- }
3460
- },
3461
- "foreignKeys": {
3462
- "junior_snapshots_workspace_id_junior_workspaces_id_fk": {
3463
- "name": "junior_snapshots_workspace_id_junior_workspaces_id_fk",
3464
- "tableFrom": "junior_snapshots",
3465
- "tableTo": "junior_workspaces",
3466
- "columnsFrom": [
3467
- "workspace_id"
3468
- ],
3469
- "columnsTo": [
3470
- "id"
3471
- ],
3472
- "onDelete": "cascade",
3473
- "onUpdate": "no action"
3474
- }
3475
- },
3476
- "compositePrimaryKeys": {},
3477
- "uniqueConstraints": {},
3478
- "policies": {},
3479
- "checkConstraints": {
3480
- "junior_snapshots_status_check": {
3481
- "name": "junior_snapshots_status_check",
3482
- "value": "\"junior_snapshots\".\"status\" in ('building', 'failed', 'ready')"
3483
- },
3484
- "junior_snapshots_build_phase_check": {
3485
- "name": "junior_snapshots_build_phase_check",
3486
- "value": "\"junior_snapshots\".\"build_phase\" is null or \"junior_snapshots\".\"build_phase\" in ('created', 'dependencies_installed', 'repositories_prepared')"
3487
- },
3488
- "junior_snapshots_ready_fields_check": {
3489
- "name": "junior_snapshots_ready_fields_check",
3490
- "value": "\"junior_snapshots\".\"status\" <> 'ready' or (\"junior_snapshots\".\"snapshot_id\" is not null and \"junior_snapshots\".\"build_duration_ms\" is not null and \"junior_snapshots\".\"generated_at\" is not null)"
3491
- },
3492
- "junior_snapshots_build_fields_check": {
3493
- "name": "junior_snapshots_build_fields_check",
3494
- "value": "\"junior_snapshots\".\"status\" = 'ready' or (\"junior_snapshots\".\"build_started_at\" is not null and \"junior_snapshots\".\"build_phase\" is not null)"
3495
- },
3496
- "junior_snapshots_build_duration_check": {
3497
- "name": "junior_snapshots_build_duration_check",
3498
- "value": "\"junior_snapshots\".\"build_duration_ms\" is null or \"junior_snapshots\".\"build_duration_ms\" >= 0"
3499
- },
3500
- "junior_snapshots_size_bytes_check": {
3501
- "name": "junior_snapshots_size_bytes_check",
3502
- "value": "\"junior_snapshots\".\"size_bytes\" is null or \"junior_snapshots\".\"size_bytes\" >= 0"
3503
- }
3504
- },
3505
- "isRLSEnabled": false
3506
- },
3507
- "public.junior_stats": {
3508
- "name": "junior_stats",
3509
- "schema": "",
3510
- "columns": {
3511
- "date": {
3512
- "name": "date",
3513
- "type": "date",
3514
- "primaryKey": false,
3515
- "notNull": true
3516
- },
3517
- "namespace": {
3518
- "name": "namespace",
3519
- "type": "text",
3520
- "primaryKey": false,
3521
- "notNull": true
3522
- },
3523
- "metric": {
3524
- "name": "metric",
3525
- "type": "text",
3526
- "primaryKey": false,
3527
- "notNull": true
3528
- },
3529
- "name": {
3530
- "name": "name",
3531
- "type": "text",
3532
- "primaryKey": false,
3533
- "notNull": true
3534
- },
3535
- "count": {
3536
- "name": "count",
3537
- "type": "integer",
3538
- "primaryKey": false,
3539
- "notNull": true,
3540
- "default": 0
3541
- }
3542
- },
3543
- "indexes": {},
3544
- "foreignKeys": {},
3545
- "compositePrimaryKeys": {
3546
- "junior_stats_date_namespace_metric_name_pk": {
3547
- "name": "junior_stats_date_namespace_metric_name_pk",
3548
- "columns": [
3549
- "date",
3550
- "namespace",
3551
- "metric",
3552
- "name"
3553
- ]
3554
- }
3555
- },
3556
- "uniqueConstraints": {},
3557
- "policies": {},
3558
- "checkConstraints": {},
3559
- "isRLSEnabled": false
3560
- },
3561
- "public.junior_users": {
3562
- "name": "junior_users",
3563
- "schema": "",
3564
- "columns": {
3565
- "id": {
3566
- "name": "id",
3567
- "type": "text",
3568
- "primaryKey": true,
3569
- "notNull": true
3570
- },
3571
- "primary_email": {
3572
- "name": "primary_email",
3573
- "type": "text",
3574
- "primaryKey": false,
3575
- "notNull": true
3576
- },
3577
- "primary_email_normalized": {
3578
- "name": "primary_email_normalized",
3579
- "type": "text",
3580
- "primaryKey": false,
3581
- "notNull": true
3582
- },
3583
- "display_name": {
3584
- "name": "display_name",
3585
- "type": "text",
3586
- "primaryKey": false,
3587
- "notNull": false
3588
- },
3589
- "timezone": {
3590
- "name": "timezone",
3591
- "type": "text",
3592
- "primaryKey": false,
3593
- "notNull": false
3594
- },
3595
- "is_admin": {
3596
- "name": "is_admin",
3597
- "type": "boolean",
3598
- "primaryKey": false,
3599
- "notNull": true,
3600
- "default": false
3601
- },
3602
- "created_at": {
3603
- "name": "created_at",
3604
- "type": "timestamp with time zone",
3605
- "primaryKey": false,
3606
- "notNull": true
3607
- },
3608
- "updated_at": {
3609
- "name": "updated_at",
3610
- "type": "timestamp with time zone",
3611
- "primaryKey": false,
3612
- "notNull": true
3613
- }
3614
- },
3615
- "indexes": {
3616
- "junior_users_primary_email_normalized_uidx": {
3617
- "name": "junior_users_primary_email_normalized_uidx",
3618
- "columns": [
3619
- {
3620
- "expression": "primary_email_normalized",
3621
- "isExpression": false,
3622
- "asc": true,
3623
- "nulls": "last"
3624
- }
3625
- ],
3626
- "isUnique": true,
3627
- "concurrently": false,
3628
- "method": "btree",
3629
- "with": {}
3630
- }
3631
- },
3632
- "foreignKeys": {},
3633
- "compositePrimaryKeys": {},
3634
- "uniqueConstraints": {},
3635
- "policies": {},
3636
- "checkConstraints": {},
3637
- "isRLSEnabled": false
3638
- },
3639
- "public.junior_workspace_repos": {
3640
- "name": "junior_workspace_repos",
3641
- "schema": "",
3642
- "columns": {
3643
- "workspace_id": {
3644
- "name": "workspace_id",
3645
- "type": "text",
3646
- "primaryKey": false,
3647
- "notNull": true
3648
- },
3649
- "provider": {
3650
- "name": "provider",
3651
- "type": "text",
3652
- "primaryKey": false,
3653
- "notNull": true
3654
- },
3655
- "repo": {
3656
- "name": "repo",
3657
- "type": "text",
3658
- "primaryKey": false,
3659
- "notNull": true
3660
- }
3661
- },
3662
- "indexes": {},
3663
- "foreignKeys": {
3664
- "junior_workspace_repos_workspace_id_junior_workspaces_id_fk": {
3665
- "name": "junior_workspace_repos_workspace_id_junior_workspaces_id_fk",
3666
- "tableFrom": "junior_workspace_repos",
3667
- "tableTo": "junior_workspaces",
3668
- "columnsFrom": [
3669
- "workspace_id"
3670
- ],
3671
- "columnsTo": [
3672
- "id"
3673
- ],
3674
- "onDelete": "cascade",
3675
- "onUpdate": "no action"
3676
- }
3677
- },
3678
- "compositePrimaryKeys": {
3679
- "junior_workspace_repos_workspace_id_provider_repo_pk": {
3680
- "name": "junior_workspace_repos_workspace_id_provider_repo_pk",
3681
- "columns": [
3682
- "workspace_id",
3683
- "provider",
3684
- "repo"
3685
- ]
3686
- }
3687
- },
3688
- "uniqueConstraints": {},
3689
- "policies": {},
3690
- "checkConstraints": {},
3691
- "isRLSEnabled": false
3692
- },
3693
- "public.junior_workspaces": {
3694
- "name": "junior_workspaces",
3695
- "schema": "",
3696
- "columns": {
3697
- "id": {
3698
- "name": "id",
3699
- "type": "text",
3700
- "primaryKey": true,
3701
- "notNull": true
3702
- },
3703
- "name": {
3704
- "name": "name",
3705
- "type": "text",
3706
- "primaryKey": false,
3707
- "notNull": true
3708
- },
3709
- "setup_script": {
3710
- "name": "setup_script",
3711
- "type": "text",
3712
- "primaryKey": false,
3713
- "notNull": true,
3714
- "default": "''"
3715
- },
3716
- "created_at": {
3717
- "name": "created_at",
3718
- "type": "timestamp with time zone",
3719
- "primaryKey": false,
3720
- "notNull": true
3721
- },
3722
- "updated_at": {
3723
- "name": "updated_at",
3724
- "type": "timestamp with time zone",
3725
- "primaryKey": false,
3726
- "notNull": true
3727
- }
3728
- },
3729
- "indexes": {
3730
- "junior_workspaces_name_idx": {
3731
- "name": "junior_workspaces_name_idx",
3732
- "columns": [
3733
- {
3734
- "expression": "name",
3735
- "isExpression": false,
3736
- "asc": true,
3737
- "nulls": "last"
3738
- }
3739
- ],
3740
- "isUnique": true,
3741
- "concurrently": false,
3742
- "method": "btree",
3743
- "with": {}
3744
- }
3745
- },
3746
- "foreignKeys": {},
3747
- "compositePrimaryKeys": {},
3748
- "uniqueConstraints": {},
3749
- "policies": {},
3750
- "checkConstraints": {},
3751
- "isRLSEnabled": false
3752
- }
3753
- },
3754
- "enums": {},
3755
- "schemas": {},
3756
- "sequences": {},
3757
- "roles": {},
3758
- "policies": {},
3759
- "views": {},
3760
- "_meta": {
3761
- "columns": {},
3762
- "schemas": {},
3763
- "tables": {}
3764
- }
3765
- }