bb-app 0.0.10 → 0.0.12
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.
- package/app/dist/assets/AppSettingsView-BnxUHmxx.js +1 -0
- package/app/dist/assets/InternalReplayListView-csLG2lko.js +1 -0
- package/app/dist/assets/ProjectArchivedThreadsView-CH0nwbDU.js +1 -0
- package/app/dist/assets/ProjectSettingsView-nWbGXc1H.js +1 -0
- package/app/dist/assets/ThreadDetailRoute-CO285nQR.js +2642 -0
- package/app/dist/assets/ThreadUnarchiveButton-CQaA-gHV.js +1 -0
- package/app/dist/assets/{angular-html-BYHpibq1.js → angular-html-BOmrr01g.js} +1 -1
- package/app/dist/assets/{angular-ts-CvblCwhB.js → angular-ts-DCM7qcSK.js} +1 -1
- package/app/dist/assets/{apl-Ut09domA.js → apl-DuVJ59sz.js} +1 -1
- package/app/dist/assets/{astro-DxF6gUBf.js → astro-AQMIDGwi.js} +1 -1
- package/app/dist/assets/{blade-bddbERIS.js → blade-CsPbsxBX.js} +1 -1
- package/app/dist/assets/{bsl-CG-fq4sc.js → bsl-9Rfj8X2G.js} +1 -1
- package/app/dist/assets/{c-DvGcUFpg.js → c-D9gG2MMW.js} +1 -1
- package/app/dist/assets/{cairo-Ds0kTeYT.js → cairo-B8t0-PSB.js} +1 -1
- package/app/dist/assets/{chunk-JZWAC4HX-Bl8ic0GS.js → chunk-JZWAC4HX-vAKkV_Y-.js} +1 -1
- package/app/dist/assets/{cobol-NY_aN0B9.js → cobol-DD9s4tIq.js} +1 -1
- package/app/dist/assets/{coffee-BaV26CEE.js → coffee-6iFiN2xF.js} +1 -1
- package/app/dist/assets/{cpp-Xi-gZwXu.js → cpp-DyiPD7p1.js} +1 -1
- package/app/dist/assets/{crystal-DCBHYaw5.js → crystal-XjoV3Lue.js} +1 -1
- package/app/dist/assets/{css-C0Oup6fN.js → css-DJovgfNT.js} +1 -1
- package/app/dist/assets/dialog-BvotBFA0.js +22 -0
- package/app/dist/assets/{edge-IkZjdQbn.js → edge-DYu9rQsg.js} +1 -1
- package/app/dist/assets/effective-hosts-CgZiG_wS.js +68 -0
- package/app/dist/assets/{elixir-BiI7ssvs.js → elixir-CGc4gb59.js} +1 -1
- package/app/dist/assets/{elm--EsAmim6.js → elm-DfNAAF5X.js} +1 -1
- package/app/dist/assets/{erb-C4BhXkcz.js → erb-CF74Kl7K.js} +1 -1
- package/app/dist/assets/{erlang-C-m_88FN.js → erlang-CdOz9ruD.js} +1 -1
- package/app/dist/assets/{fortran-fixed-form-Cx1lv7HN.js → fortran-fixed-form-BmD2L0UY.js} +1 -1
- package/app/dist/assets/{fsharp-DC5k9sy2.js → fsharp-DgKUr7h2.js} +1 -1
- package/app/dist/assets/{gdresource-D0EsKdgH.js → gdresource-BqgTfeIa.js} +1 -1
- package/app/dist/assets/{git-commit-BcFsuO5E.js → git-commit-CPnaL3nl.js} +1 -1
- package/app/dist/assets/{git-rebase-BwYFXKg2.js → git-rebase-2bSFR8VV.js} +1 -1
- package/app/dist/assets/{glimmer-js-Cw6GlNl1.js → glimmer-js-D1yNTSaa.js} +1 -1
- package/app/dist/assets/{glimmer-ts-Dtrhen-N.js → glimmer-ts-DVblM7L5.js} +1 -1
- package/app/dist/assets/{glsl-CneArfWq.js → glsl-gxzJizaK.js} +1 -1
- package/app/dist/assets/{graphql-XWsR5yIs.js → graphql-BpTTKDqK.js} +1 -1
- package/app/dist/assets/{hack-B_iHa-zR.js → hack-DDSUlOik.js} +1 -1
- package/app/dist/assets/{haml--apJL5g3.js → haml-BZNAh4-P.js} +1 -1
- package/app/dist/assets/{handlebars-DjtEJWNG.js → handlebars-DlYJLEcO.js} +1 -1
- package/app/dist/assets/{html-ByzR__NF.js → html-MZ0Poiph.js} +1 -1
- package/app/dist/assets/{html-derivative-1RBgMeAA.js → html-derivative-ChK_TvO6.js} +1 -1
- package/app/dist/assets/{http-iGjydcO_.js → http-CEE8xOHO.js} +1 -1
- package/app/dist/assets/{hurl-BgevzdCh.js → hurl-B5aHyN9a.js} +1 -1
- package/app/dist/assets/{hxml-iQTOTWpM.js → hxml-DlOl0PEf.js} +1 -1
- package/app/dist/assets/index-SSlA_QcC.css +2 -0
- package/app/dist/assets/index-u9J_LInz.js +1366 -0
- package/app/dist/assets/{java-DlVWVy_H.js → java-C-CCkGSB.js} +1 -1
- package/app/dist/assets/{javascript-CWg9eGcp.js → javascript-CoPUJA8j.js} +1 -1
- package/app/dist/assets/{jinja-cQnCNhMP.js → jinja-Ce_R6KUf.js} +1 -1
- package/app/dist/assets/{jison-BqLsni6f.js → jison-DxdoAlKK.js} +1 -1
- package/app/dist/assets/{json-f_cDSIBu.js → json-PteH9L8Y.js} +1 -1
- package/app/dist/assets/{jsx-Dddo5A0y.js → jsx-N08PKjBU.js} +1 -1
- package/app/dist/assets/{julia-BAHRDZhd.js → julia-D_eVESw1.js} +1 -1
- package/app/dist/assets/{just-C7Svdo3e.js → just-BVZ_2gix.js} +1 -1
- package/app/dist/assets/{latex-DiP8QMOq.js → latex-CvglVjdX.js} +1 -1
- package/app/dist/assets/{liquid-Dlxvb4YZ.js → liquid-C2RPsEhH.js} +1 -1
- package/app/dist/assets/localhost-badge-CHDdiNhq.js +1 -0
- package/app/dist/assets/{lua-CYFMiD7T.js → lua-D9-kqDch.js} +1 -1
- package/app/dist/assets/{marko-BmLsqAhT.js → marko-jVSfYuio.js} +1 -1
- package/app/dist/assets/{mdc-BbryJmmE.js → mdc-DVHnOYT4.js} +1 -1
- package/app/dist/assets/mutation-cache-effects-plW3Wjx9.js +1 -0
- package/app/dist/assets/mutation-errors-INqXreOn.js +2 -0
- package/app/dist/assets/{nextflow-D-Ec_bsY.js → nextflow-CK5HLJvq.js} +1 -1
- package/app/dist/assets/{nginx-CkaxUV85.js → nginx-DfHWE4gw.js} +1 -1
- package/app/dist/assets/{nim-CMthB9Um.js → nim-fW6F-8R_.js} +1 -1
- package/app/dist/assets/page-shell-omz5VWqw.js +39 -0
- package/app/dist/assets/{perl-1j__vNSI.js → perl-C916SOdN.js} +1 -1
- package/app/dist/assets/{php-BgGf6vLq.js → php-BDWQ0WnL.js} +1 -1
- package/app/dist/assets/{pill-CxDd2TL9.js → pill-8eXFxAuz.js} +1 -1
- package/app/dist/assets/{pug-CrMx1oZj.js → pug-BTGBL6ey.js} +1 -1
- package/app/dist/assets/{qml-DQlcMuCA.js → qml-BB7gtLw5.js} +1 -1
- package/app/dist/assets/{r-BHAxDsuN.js → r-4Ktj_4BV.js} +1 -1
- package/app/dist/assets/{razor-DH_SJCeW.js → razor-C_Ejzpyk.js} +1 -1
- package/app/dist/assets/{regexp-Ux97qEA5.js → regexp-DdimReFO.js} +1 -1
- package/app/dist/assets/{rst-C8K66ASd.js → rst-Ba-8orMO.js} +1 -1
- package/app/dist/assets/{ruby-Bgv5vCSb.js → ruby-DNE0wFLx.js} +1 -1
- package/app/dist/assets/{sas-BJuZWbIi.js → sas-D6QyIc5Y.js} +1 -1
- package/app/dist/assets/{scss-CPH2TlnJ.js → scss-BpYltub1.js} +1 -1
- package/app/dist/assets/{settings-section-BlOBCLDd.js → settings-section-BkJbbK-p.js} +1 -1
- package/app/dist/assets/{shaderlab-DGohHMiF.js → shaderlab-jhHUXThs.js} +1 -1
- package/app/dist/assets/{shellscript-DTAdkLLb.js → shellscript-B1QZDlVi.js} +1 -1
- package/app/dist/assets/{shellsession-CjAj2gkp.js → shellsession-C2YSc67H.js} +1 -1
- package/app/dist/assets/{soy-wiaUs069.js → soy-Ba6Otyql.js} +1 -1
- package/app/dist/assets/{sparql-BgU2QITA.js → sparql-D050l-1j.js} +1 -1
- package/app/dist/assets/split-button-_uHFVDB-.js +1 -0
- package/app/dist/assets/{sql-QcEXm8Az.js → sql-Bnzimrzw.js} +1 -1
- package/app/dist/assets/{stata-C48TsyCk.js → stata-BmWbZaNS.js} +1 -1
- package/app/dist/assets/{surrealql-gygGBtDy.js → surrealql-BDEpTym4.js} +1 -1
- package/app/dist/assets/{svelte-DzJ1bjdK.js → svelte-D3__atge.js} +1 -1
- package/app/dist/assets/{templ-DiTphmEM.js → templ-B2QvG8e0.js} +1 -1
- package/app/dist/assets/{tex-C6QfjVdh.js → tex-oleGAEAp.js} +1 -1
- package/app/dist/assets/thread-queries-DpnZLohh.js +1 -0
- package/app/dist/assets/{ts-tags-Dg7FL61U.js → ts-tags-C4rrn99M.js} +1 -1
- package/app/dist/assets/{tsx-BG30q5NW.js → tsx-5jd1D3TG.js} +1 -1
- package/app/dist/assets/{twig-CWCr-AmW.js → twig-BxJeHYNu.js} +1 -1
- package/app/dist/assets/{typescript-BR3EjqlG.js → typescript-81bZW67U.js} +1 -1
- package/app/dist/assets/{vue-CkJ_ptKH.js → vue-DSNd-6Ch.js} +1 -1
- package/app/dist/assets/{vue-html-CFKVnnyc.js → vue-html-CQT5rCwO.js} +1 -1
- package/app/dist/assets/{vue-vine-clps1P0S.js → vue-vine-BafaCKEQ.js} +1 -1
- package/app/dist/assets/workspace-open-target-preference-yN4DFIsy.js +1 -0
- package/app/dist/assets/{xml-BHYwmP79.js → xml-AdWB6zlJ.js} +1 -1
- package/app/dist/assets/{xsl-CbEJKtIJ.js → xsl-Dy6hQs2F.js} +1 -1
- package/app/dist/assets/{yaml-C-71NFj-.js → yaml-BdzELsfc.js} +1 -1
- package/app/dist/index.html +10 -9
- package/dist/bb-app.js +1 -1
- package/dist/bb-host-daemon.js +1 -1
- package/host-daemon/dist/bb +325 -563
- package/host-daemon/dist/bb-claude-code-bridge.mjs +37 -37
- package/host-daemon/dist/bb-pi-bridge.mjs +1 -1
- package/host-daemon/dist/daemon-bundle.mjs +359 -361
- package/package.json +1 -1
- package/server/dist/default-template/apps/status/manifest.json +9 -0
- package/server/dist/drizzle/0006_rapid_santa_claus.sql +11 -0
- package/server/dist/drizzle/0007_curvy_ezekiel_stane.sql +2 -0
- package/server/dist/drizzle/0008_thread_pinning.sql +3 -0
- package/server/dist/drizzle/meta/0006_snapshot.json +3243 -0
- package/server/dist/drizzle/meta/0007_snapshot.json +3260 -0
- package/server/dist/drizzle/meta/0008_snapshot.json +3285 -0
- package/server/dist/drizzle/meta/_journal.json +22 -1
- package/server/dist/index.js +4577 -4986
- package/app/dist/assets/AppSettingsView-H-BJwj9_.js +0 -1
- package/app/dist/assets/InternalReplayListView-BTghdJ73.js +0 -1
- package/app/dist/assets/ProjectArchivedThreadsView-Cepv99cw.js +0 -1
- package/app/dist/assets/ProjectSettingsView-BHiTMC3F.js +0 -1
- package/app/dist/assets/ThreadDetailRoute-BoiY0PTG.js +0 -2867
- package/app/dist/assets/ThreadUnarchiveButton-BjYW-ned.js +0 -1
- package/app/dist/assets/dialog-aN1xTDyE.js +0 -1
- package/app/dist/assets/effective-hosts-DyMNblil.js +0 -68
- package/app/dist/assets/index-BikEVw-C.css +0 -2
- package/app/dist/assets/index-DERhWKi1.js +0 -1364
- package/app/dist/assets/localhost-badge-EX9hMqNt.js +0 -22
- package/app/dist/assets/mutation-cache-effects-Dhc8bhPi.js +0 -1
- package/app/dist/assets/page-shell-Cm6ORlc1.js +0 -39
- package/app/dist/assets/split-button-DKl9pCWu.js +0 -1
- package/app/dist/assets/thread-queries-BZIo9kT6.js +0 -1
- package/server/dist/default-template/STATUS.html +0 -380
- /package/app/dist/assets/{abap-B1dkBSPn.js → abap-B7RnWQOG.js} +0 -0
- /package/app/dist/assets/{actionscript-3-BT4ibYlP.js → actionscript-3-CRl2BRXz.js} +0 -0
- /package/app/dist/assets/{ada-CD92zeps.js → ada-CySgk42_.js} +0 -0
- /package/app/dist/assets/{addon-fit-Cm0rqjtv.js → addon-fit-C0pCnz-E.js} +0 -0
- /package/app/dist/assets/{addon-web-links-B8_D6zvC.js → addon-web-links-C74o10p8.js} +0 -0
- /package/app/dist/assets/{andromeeda-DqSmgxi0.js → andromeeda-Bnm9WW1a.js} +0 -0
- /package/app/dist/assets/{apache-D5suuoa_.js → apache-CQgWNR0K.js} +0 -0
- /package/app/dist/assets/{apex-BL-m4VHy.js → apex-CFa_x2c9.js} +0 -0
- /package/app/dist/assets/{applescript-CLiBqvKT.js → applescript-CCGt--QU.js} +0 -0
- /package/app/dist/assets/{ara-LdDF8cmv.js → ara-CJYv1XlV.js} +0 -0
- /package/app/dist/assets/{asciidoc-2DZ9hC2N.js → asciidoc-DxgPoKvx.js} +0 -0
- /package/app/dist/assets/{asm-0ZPGRSUy.js → asm-2LyQSByb.js} +0 -0
- /package/app/dist/assets/{aurora-x-Da7Zfvbg.js → aurora-x-DfOR6O80.js} +0 -0
- /package/app/dist/assets/{awk-Bn0gn_B_.js → awk-adfNbTQc.js} +0 -0
- /package/app/dist/assets/{ayu-dark-bqYKoqpM.js → ayu-dark-ADZF52JZ.js} +0 -0
- /package/app/dist/assets/{ayu-light-C45jTIzZ.js → ayu-light-CMMeLqXc.js} +0 -0
- /package/app/dist/assets/{ayu-mirage-BV_FCTQi.js → ayu-mirage-BZvrYN67.js} +0 -0
- /package/app/dist/assets/{ballerina-D2nw_w8Q.js → ballerina-G1jH5Moz.js} +0 -0
- /package/app/dist/assets/{bat-ByUBN5gS.js → bat-CHXtPpft.js} +0 -0
- /package/app/dist/assets/{beancount-BTb2W6Mp.js → beancount-EfboDiXG.js} +0 -0
- /package/app/dist/assets/{berry-5SO2uITG.js → berry-DAhQzFBm.js} +0 -0
- /package/app/dist/assets/{bibtex-CDBTNfUI.js → bibtex-CanpD3m2.js} +0 -0
- /package/app/dist/assets/{bicep-fgxG_4rP.js → bicep-Cc0u08ve.js} +0 -0
- /package/app/dist/assets/{bird2-BCwzDhwX.js → bird2-BmGSmafQ.js} +0 -0
- /package/app/dist/assets/{c3-Dlaci63_.js → c3-Bld9q8eN.js} +0 -0
- /package/app/dist/assets/{cadence-DHbRuEmm.js → cadence-_3OaglmQ.js} +0 -0
- /package/app/dist/assets/{catppuccin-frappe-DrL1fUuH.js → catppuccin-frappe-Dn0XJ8jj.js} +0 -0
- /package/app/dist/assets/{catppuccin-latte-C0REgVjl.js → catppuccin-latte-D25Kwd8S.js} +0 -0
- /package/app/dist/assets/{catppuccin-macchiato-ChQpylWO.js → catppuccin-macchiato-Bc6w_RYC.js} +0 -0
- /package/app/dist/assets/{catppuccin-mocha-Dd0JU1T0.js → catppuccin-mocha-Di4PH8Ri.js} +0 -0
- /package/app/dist/assets/{clarity-DMoTOm4G.js → clarity-CVKtZWJu.js} +0 -0
- /package/app/dist/assets/{clojure-DBhE3PpS.js → clojure-C4w8xKrn.js} +0 -0
- /package/app/dist/assets/{cmake-DwMc40Or.js → cmake-DuxpWyxB.js} +0 -0
- /package/app/dist/assets/{codeowners-1lVr8wqV.js → codeowners-BYgLRiPG.js} +0 -0
- /package/app/dist/assets/{codeql-DWflolvo.js → codeql-DmJo4bmm.js} +0 -0
- /package/app/dist/assets/{common-lisp-CrVQ5xT-.js → common-lisp-xmwdM7sj.js} +0 -0
- /package/app/dist/assets/{coq-CjfoyYSh.js → coq-D004aLp-.js} +0 -0
- /package/app/dist/assets/{csharp-C7bIWP5y.js → csharp-BJRWJrkS.js} +0 -0
- /package/app/dist/assets/{csv-DsAkDVtA.js → csv-Cx2EO4hN.js} +0 -0
- /package/app/dist/assets/{cue-BWmQgbOB.js → cue-BFvpulfw.js} +0 -0
- /package/app/dist/assets/{cypher-D-jVC50Q.js → cypher-CloxltJj.js} +0 -0
- /package/app/dist/assets/{d-CaviyOrm.js → d-ByN-nCZx.js} +0 -0
- /package/app/dist/assets/{dark-plus-DIrnwZt9.js → dark-plus-BRQ4k4kr.js} +0 -0
- /package/app/dist/assets/{dart-CZEi7JgC.js → dart-jaYeqpH7.js} +0 -0
- /package/app/dist/assets/{dax-BK-8zffy.js → dax-CQDoOssZ.js} +0 -0
- /package/app/dist/assets/{desktop-D3cjbL4D.js → desktop-DssJfs2S.js} +0 -0
- /package/app/dist/assets/{diff-sHAzLvlp.js → diff-DGLbp6Xl.js} +0 -0
- /package/app/dist/assets/{docker--xs2Ng3w.js → docker-B7aZDRTU.js} +0 -0
- /package/app/dist/assets/{dotenv-Cm4nwcJ7.js → dotenv-D3KyAIK0.js} +0 -0
- /package/app/dist/assets/{dracula-CAUSusef.js → dracula-6-t2eOMW.js} +0 -0
- /package/app/dist/assets/{dracula-soft-cjNkMFza.js → dracula-soft-B4TZzIlp.js} +0 -0
- /package/app/dist/assets/{dream-maker-fjmWTFCO.js → dream-maker-CjPuR0vx.js} +0 -0
- /package/app/dist/assets/{emacs-lisp-CJzqStIa.js → emacs-lisp-BHg7FqFZ.js} +0 -0
- /package/app/dist/assets/{everforest-dark-DBpaSMx1.js → everforest-dark-B4IVVaS6.js} +0 -0
- /package/app/dist/assets/{everforest-light-CiGrXwia.js → everforest-light-CNoEiPUu.js} +0 -0
- /package/app/dist/assets/{fennel-DRaXF7k8.js → fennel-DG6hK7z2.js} +0 -0
- /package/app/dist/assets/{fish-Bn-Yh3Jj.js → fish-_zY__9L4.js} +0 -0
- /package/app/dist/assets/{fluent-DF5F8Ks_.js → fluent-BBz3hVA9.js} +0 -0
- /package/app/dist/assets/{fortran-free-form-hCQHRqew.js → fortran-free-form-Db24aQuN.js} +0 -0
- /package/app/dist/assets/{gdscript-_C9_Hi_w.js → gdscript-CxxY7zMa.js} +0 -0
- /package/app/dist/assets/{gdshader-BW7b1X1Y.js → gdshader-W85lNgcx.js} +0 -0
- /package/app/dist/assets/{genie-Ch_6TCHd.js → genie-2WOhOayX.js} +0 -0
- /package/app/dist/assets/{gherkin-CaNUsmTq.js → gherkin-BsQJenZD.js} +0 -0
- /package/app/dist/assets/{github-dark-B9ygjgg6.js → github-dark-DH2_Q6FX.js} +0 -0
- /package/app/dist/assets/{github-dark-default-Br2bgYSx.js → github-dark-default-DTF8deNx.js} +0 -0
- /package/app/dist/assets/{github-dark-dimmed-CmtqpPJ-.js → github-dark-dimmed-BvtnYOMy.js} +0 -0
- /package/app/dist/assets/{github-dark-high-contrast-fSfmrZcC.js → github-dark-high-contrast-CQhqa0EF.js} +0 -0
- /package/app/dist/assets/{github-light-default-lIytXXhR.js → github-light-default-9rPElOua.js} +0 -0
- /package/app/dist/assets/{github-light-high-contrast-BRrjFb7n.js → github-light-high-contrast-Drx2T_ea.js} +0 -0
- /package/app/dist/assets/{github-light-BZjUqfZl.js → github-light-t2gQwbnC.js} +0 -0
- /package/app/dist/assets/{gleam-DALMDpNs.js → gleam-BjFNd70h.js} +0 -0
- /package/app/dist/assets/{gn-DGjqrYN9.js → gn-MXj_EEiV.js} +0 -0
- /package/app/dist/assets/{gnuplot-BYckvgQI.js → gnuplot-C40vWoS_.js} +0 -0
- /package/app/dist/assets/{go-JycvP538.js → go-B2Qj-jpc.js} +0 -0
- /package/app/dist/assets/{groovy-D5qMRONT.js → groovy-42TXi0JD.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-hard-M1dj1e6V.js → gruvbox-dark-hard-DaxQoAo9.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-medium-cqq_ncQu.js → gruvbox-dark-medium-CR6ynfxn.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-soft-B4QwL2a9.js → gruvbox-dark-soft-QoKQNR_B.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-hard-DLayMKOQ.js → gruvbox-light-hard-C3-JuKAe.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-medium-D52XgPKf.js → gruvbox-light-medium-676URJw_.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-soft-Dola3KdD.js → gruvbox-light-soft-BGpHIYJO.js} +0 -0
- /package/app/dist/assets/{haskell-ys7wPPEd.js → haskell-C5VEzHiR.js} +0 -0
- /package/app/dist/assets/{haxe-94kiChn7.js → haxe-DxCG7g2C.js} +0 -0
- /package/app/dist/assets/{hcl-DmHt_-wq.js → hcl-B-KEcm-b.js} +0 -0
- /package/app/dist/assets/{hjson-xMmoJ0Gx.js → hjson-KcqWy6wG.js} +0 -0
- /package/app/dist/assets/{hlsl-b-Pskdze.js → hlsl-CU9ay1Rj.js} +0 -0
- /package/app/dist/assets/{horizon-BKMqttiR.js → horizon-BDDUNMOh.js} +0 -0
- /package/app/dist/assets/{horizon-bright-HNkBlnm5.js → horizon-bright-Km86OX7k.js} +0 -0
- /package/app/dist/assets/{houston-BkBSBSOQ.js → houston-CnK3oLKP.js} +0 -0
- /package/app/dist/assets/{hy-DKl1XhBq.js → hy-9kqolRdI.js} +0 -0
- /package/app/dist/assets/{imba-DPxkOTAg.js → imba-AWBATAYY.js} +0 -0
- /package/app/dist/assets/{ini-lkLGq_1x.js → ini-P5JLg6LV.js} +0 -0
- /package/app/dist/assets/{json5-Cy6ypJuJ.js → json5-Cj9weIvR.js} +0 -0
- /package/app/dist/assets/{jsonc-Cw2ugYAK.js → jsonc-CwVZHrLL.js} +0 -0
- /package/app/dist/assets/{jsonl-Dp5_qBVH.js → jsonl-CfYcxfNz.js} +0 -0
- /package/app/dist/assets/{jsonnet-BTbmg_-u.js → jsonnet-B351KcBZ.js} +0 -0
- /package/app/dist/assets/{jssm-CnT7nPea.js → jssm-CVNVxyp8.js} +0 -0
- /package/app/dist/assets/{kanagawa-dragon-CxsBnuhV.js → kanagawa-dragon-Bg-BKRuP.js} +0 -0
- /package/app/dist/assets/{kanagawa-lotus-vHdxDDOS.js → kanagawa-lotus-CVGoMXw8.js} +0 -0
- /package/app/dist/assets/{kanagawa-wave-CIkfTKWk.js → kanagawa-wave-CuNbEAGB.js} +0 -0
- /package/app/dist/assets/{kdl-BwK60g80.js → kdl-B2a5Hdo5.js} +0 -0
- /package/app/dist/assets/{kotlin-Dbd9Vi-v.js → kotlin-CwntYu9G.js} +0 -0
- /package/app/dist/assets/{kusto-BuTk9usc.js → kusto-DzqQhEgS.js} +0 -0
- /package/app/dist/assets/{laserwave-C0wf_d3o.js → laserwave-Bf5KiZGG.js} +0 -0
- /package/app/dist/assets/{lean-CYAW8bRN.js → lean-CLemLjY9.js} +0 -0
- /package/app/dist/assets/{less-D4uen21c.js → less-Dycz37IB.js} +0 -0
- /package/app/dist/assets/{light-plus-oqYyWKEE.js → light-plus-BISup5vO.js} +0 -0
- /package/app/dist/assets/{llvm-Z1xJzteV.js → llvm-B3vA1z1w.js} +0 -0
- /package/app/dist/assets/{log-BGUxlsk3.js → log-CM4eTPwH.js} +0 -0
- /package/app/dist/assets/{logo-wVUhvQ1b.js → logo-DCYIDlXZ.js} +0 -0
- /package/app/dist/assets/{luau-rPFZzCmq.js → luau-B3LrvOEt.js} +0 -0
- /package/app/dist/assets/{make-BmPf6m0P.js → make-Bep3F-fA.js} +0 -0
- /package/app/dist/assets/{markdown-AseU6zcW.js → markdown-BObkjWCp.js} +0 -0
- /package/app/dist/assets/{material-theme-darker-VPEo3Sem.js → material-theme-darker-DM1OIivA.js} +0 -0
- /package/app/dist/assets/{material-theme-6_W6rQhR.js → material-theme-jZt3rhQh.js} +0 -0
- /package/app/dist/assets/{material-theme-lighter-CUhzCcZ9.js → material-theme-lighter-HtgpH1FU.js} +0 -0
- /package/app/dist/assets/{material-theme-ocean-B2JdsaGb.js → material-theme-ocean-CeFuXoRG.js} +0 -0
- /package/app/dist/assets/{material-theme-palenight-DhY-sklA.js → material-theme-palenight-BMg4YxS6.js} +0 -0
- /package/app/dist/assets/{matlab-BOj_BDQv.js → matlab-BjvFQgI4.js} +0 -0
- /package/app/dist/assets/{mdx-Cm6cDkDI.js → mdx-DnKU9cqA.js} +0 -0
- /package/app/dist/assets/{mermaid-DLO-R4hv.js → mermaid-CH8Qvaqo.js} +0 -0
- /package/app/dist/assets/{min-dark-D34a_pX7.js → min-dark-B95jFnY0.js} +0 -0
- /package/app/dist/assets/{min-light-Cdd4KORE.js → min-light-CqwYUont.js} +0 -0
- /package/app/dist/assets/{mipsasm-DYpHF-GA.js → mipsasm-OAAwCDEg.js} +0 -0
- /package/app/dist/assets/{mojo-DqYVFv_G.js → mojo-COx3BOEA.js} +0 -0
- /package/app/dist/assets/{monokai-CDR4sQ2n.js → monokai-C988KBom.js} +0 -0
- /package/app/dist/assets/{moonbit-DRKee9wk.js → moonbit-ChOfdbnC.js} +0 -0
- /package/app/dist/assets/{move-DbRk6Vn9.js → move-jwG4QUY4.js} +0 -0
- /package/app/dist/assets/{narrat-IOfmaXfb.js → narrat-Bv3slmdi.js} +0 -0
- /package/app/dist/assets/{nextflow-groovy-EYl0c2BQ.js → nextflow-groovy-CYeLXiaP.js} +0 -0
- /package/app/dist/assets/{night-owl-yQJ3-I0I.js → night-owl-SjOLjRtB.js} +0 -0
- /package/app/dist/assets/{night-owl-light-Bedht9b4.js → night-owl-light-DHrEzBAj.js} +0 -0
- /package/app/dist/assets/{nix-C2IovEl2.js → nix-CcOD1khX.js} +0 -0
- /package/app/dist/assets/{nord-BjZ63GNL.js → nord-BGjNHkRW.js} +0 -0
- /package/app/dist/assets/{nushell-BflTrRB5.js → nushell-GFe6C8D1.js} +0 -0
- /package/app/dist/assets/{objective-c-GRClK1S7.js → objective-c-Da4gtNmU.js} +0 -0
- /package/app/dist/assets/{objective-cpp-l3qYw-v5.js → objective-cpp-Du3a_PKx.js} +0 -0
- /package/app/dist/assets/{ocaml-BBDyhyMH.js → ocaml-4v1g0DKj.js} +0 -0
- /package/app/dist/assets/{odin-jCJ7Js99.js → odin-C2CG6fMn.js} +0 -0
- /package/app/dist/assets/{one-dark-pro-PIx2Diul.js → one-dark-pro-BwcbXd-T.js} +0 -0
- /package/app/dist/assets/{one-light-BFMEz49S.js → one-light-BOQW5zin.js} +0 -0
- /package/app/dist/assets/{openscad-Drf0LgCX.js → openscad-Bs2SxlcB.js} +0 -0
- /package/app/dist/assets/{pascal-BT2XAUTl.js → pascal-B6AuHgs_.js} +0 -0
- /package/app/dist/assets/{pierre-dark-BMm5HxPQ.js → pierre-dark-CRPkZhl3.js} +0 -0
- /package/app/dist/assets/{pierre-light-DyzEot4Q.js → pierre-light-BT7AHM04.js} +0 -0
- /package/app/dist/assets/{pkl-ML-dWShO.js → pkl-BuPFXprX.js} +0 -0
- /package/app/dist/assets/{plastic-BFI-Z5Z2.js → plastic-BiAROaFC.js} +0 -0
- /package/app/dist/assets/{plsql-0vd5cLro.js → plsql-DQ_z5ed2.js} +0 -0
- /package/app/dist/assets/{po-CbZ_uqQA.js → po-BvHij3iO.js} +0 -0
- /package/app/dist/assets/{poimandres-Cayhd01L.js → poimandres-BbdNMHGS.js} +0 -0
- /package/app/dist/assets/{polar-C4hfV8Nc.js → polar-p_EVOYp2.js} +0 -0
- /package/app/dist/assets/{postcss-osFUbTLw.js → postcss-BVVH-mhK.js} +0 -0
- /package/app/dist/assets/{powerquery-CTlGUQPj.js → powerquery-D2htabf9.js} +0 -0
- /package/app/dist/assets/{powershell-DyZsOmuq.js → powershell-NfY3J8Uu.js} +0 -0
- /package/app/dist/assets/{prisma-SS92PO_I.js → prisma-CMeP8UTm.js} +0 -0
- /package/app/dist/assets/{prolog-B1O1NNVC.js → prolog-Cc9yvHML.js} +0 -0
- /package/app/dist/assets/{proto-BWu3eZTs.js → proto-CNBX21YV.js} +0 -0
- /package/app/dist/assets/{puppet-tvtRVdr6.js → puppet-ZnM2F-kY.js} +0 -0
- /package/app/dist/assets/{purescript-Dtbpb7D-.js → purescript-nyLIIaTP.js} +0 -0
- /package/app/dist/assets/{python-Dlk0Acio.js → python-Dt6SBvxD.js} +0 -0
- /package/app/dist/assets/{qmldir-B-iEOngH.js → qmldir-BDEiw2QJ.js} +0 -0
- /package/app/dist/assets/{qss-Ba0p-aHw.js → qss-B8ZOZZRM.js} +0 -0
- /package/app/dist/assets/{racket-BXDsxf2U.js → racket-emNFhxM0.js} +0 -0
- /package/app/dist/assets/{raku-Dw1WWFXK.js → raku-M_VGm79k.js} +0 -0
- /package/app/dist/assets/{red-BC3Ds49b.js → red-BcYVa2Jk.js} +0 -0
- /package/app/dist/assets/{reg-DXFHGaM4.js → reg-rRGLqGjW.js} +0 -0
- /package/app/dist/assets/{rel-Dc5_Ytx2.js → rel-DqcQFa7Q.js} +0 -0
- /package/app/dist/assets/{riscv-ZgswiWij.js → riscv-CanSyeO8.js} +0 -0
- /package/app/dist/assets/{ron-YghabWAH.js → ron-BQ46iNCb.js} +0 -0
- /package/app/dist/assets/{rose-pine-ByWLnVr3.js → rose-pine-BuTm62Vj.js} +0 -0
- /package/app/dist/assets/{rose-pine-dawn-DBmeySrz.js → rose-pine-dawn-B670NuiP.js} +0 -0
- /package/app/dist/assets/{rose-pine-moon-B9J-N3nK.js → rose-pine-moon-6KoQonQX.js} +0 -0
- /package/app/dist/assets/{rosmsg-DTKmAsVH.js → rosmsg-Bw0HfGe_.js} +0 -0
- /package/app/dist/assets/{rust-nfXwuE6F.js → rust-D83UuV7F.js} +0 -0
- /package/app/dist/assets/{sass-CbRjkld3.js → sass-CE2YZJdE.js} +0 -0
- /package/app/dist/assets/{scala-BzD3eypx.js → scala-CyYhociv.js} +0 -0
- /package/app/dist/assets/{scheme-D4d1PV1y.js → scheme-BrRWQ1yX.js} +0 -0
- /package/app/dist/assets/{sdbl-Cf-Ydnvx.js → sdbl-CtZR2I6R.js} +0 -0
- /package/app/dist/assets/{slack-dark-MszIyPZ2.js → slack-dark-nxsbRL6U.js} +0 -0
- /package/app/dist/assets/{slack-ochin-tQ3Q0gE9.js → slack-ochin-Cx2HX71B.js} +0 -0
- /package/app/dist/assets/{smalltalk-_uWoArwn.js → smalltalk-DGeW9hbd.js} +0 -0
- /package/app/dist/assets/{snazzy-light-9sniMEk5.js → snazzy-light-508iEJO_.js} +0 -0
- /package/app/dist/assets/{solarized-dark-CdD0Hxzv.js → solarized-dark-TCkigWjM.js} +0 -0
- /package/app/dist/assets/{solarized-light-C-nsEdqF.js → solarized-light-R2Rcjqww.js} +0 -0
- /package/app/dist/assets/{solidity-D6uC-xwP.js → solidity-46G7JVSr.js} +0 -0
- /package/app/dist/assets/{splunk-LQYHRu14.js → splunk-DKgoBk9o.js} +0 -0
- /package/app/dist/assets/{ssh-config-B7BUl8Rd.js → ssh-config-JoXpWa3y.js} +0 -0
- /package/app/dist/assets/{stylus-Byjxdx_q.js → stylus-BPw8WnNN.js} +0 -0
- /package/app/dist/assets/{swift-BexLlMrU.js → swift-Ce2Nlw8Q.js} +0 -0
- /package/app/dist/assets/{synthwave-84-BxMBwQMS.js → synthwave-84-Br2i7yYN.js} +0 -0
- /package/app/dist/assets/{system-verilog-DVGwm0mw.js → system-verilog-Dkc37EdI.js} +0 -0
- /package/app/dist/assets/{systemd-H2IT3-p5.js → systemd-CcJTFvpw.js} +0 -0
- /package/app/dist/assets/{talonscript-mKZIGM8n.js → talonscript-CHxC2PG4.js} +0 -0
- /package/app/dist/assets/{tasl-B7he_Ugr.js → tasl-woKXKJkx.js} +0 -0
- /package/app/dist/assets/{tcl-5mT3RxHH.js → tcl-6FTtarFH.js} +0 -0
- /package/app/dist/assets/{terraform-BZP0GLsT.js → terraform-DHx5Kdyi.js} +0 -0
- /package/app/dist/assets/{tokyo-night-CTPVdZt9.js → tokyo-night-BQsIhA-A.js} +0 -0
- /package/app/dist/assets/{toml-CTFA98he.js → toml-BCbG8Uu3.js} +0 -0
- /package/app/dist/assets/{tsv-BayJtYdY.js → tsv-Bfk0YRxN.js} +0 -0
- /package/app/dist/assets/{turtle-TVCBh_kY.js → turtle-DsCF_r1D.js} +0 -0
- /package/app/dist/assets/{typespec-BUvaJDLF.js → typespec-tsneGPKg.js} +0 -0
- /package/app/dist/assets/{typst-8NBaY7Ec.js → typst-BcQNhVIE.js} +0 -0
- /package/app/dist/assets/{v-VihyTigi.js → v-CPbK5D5K.js} +0 -0
- /package/app/dist/assets/{vala-DyFAPyX6.js → vala-CTmcnleK.js} +0 -0
- /package/app/dist/assets/{vb-Dg1Iqi4J.js → vb-iQRhK9Tp.js} +0 -0
- /package/app/dist/assets/{verilog-D2Xc-vhD.js → verilog-BxRFSB3_.js} +0 -0
- /package/app/dist/assets/{vesper-DJbtqYNr.js → vesper-D_U9vezF.js} +0 -0
- /package/app/dist/assets/{vhdl-CU3BVeE7.js → vhdl-D4h06VsC.js} +0 -0
- /package/app/dist/assets/{viml-hG2shuOW.js → viml-DMcwh6Y2.js} +0 -0
- /package/app/dist/assets/{vitesse-black-DbG2gsc0.js → vitesse-black-Dk8H62LF.js} +0 -0
- /package/app/dist/assets/{vitesse-dark-B6WV4xXH.js → vitesse-dark-BuiSS132.js} +0 -0
- /package/app/dist/assets/{vitesse-light-DC1pdD02.js → vitesse-light-DfdaVJLv.js} +0 -0
- /package/app/dist/assets/{vyper-C1wojIuk.js → vyper-DfAPtbtc.js} +0 -0
- /package/app/dist/assets/{wasm-C6Y0s02M.js → wasm-ByDQ9GrP.js} +0 -0
- /package/app/dist/assets/{wasm-y20ImDym.js → wasm-CfmxG3B2.js} +0 -0
- /package/app/dist/assets/{wenyan-BG5vPQF0.js → wenyan-DNkN8oQc.js} +0 -0
- /package/app/dist/assets/{wgsl-DrVb-Cub.js → wgsl-Bggw1Yhv.js} +0 -0
- /package/app/dist/assets/{wikitext-PRC4s8sH.js → wikitext-zXy-4mpr.js} +0 -0
- /package/app/dist/assets/{wit-ChW5qvg_.js → wit--vc2X9vR.js} +0 -0
- /package/app/dist/assets/{wolfram-B8mKuZSQ.js → wolfram-Dr60-Zy4.js} +0 -0
- /package/app/dist/assets/{xterm-DGJHbKBQ.js → xterm-Ba9eaFdZ.js} +0 -0
- /package/app/dist/assets/{zenscript-C-jEPC9j.js → zenscript-Cf2Qp-oj.js} +0 -0
- /package/app/dist/assets/{zig-EbnRGjcz.js → zig-DgUQodsP.js} +0 -0
|
@@ -0,0 +1,3260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "6d9e5240-1a63-40f4-92f1-71e25922bd17",
|
|
5
|
+
"prevId": "69326440-0c7f-4c51-bb8a-793cc28a212b",
|
|
6
|
+
"tables": {
|
|
7
|
+
"apikey": {
|
|
8
|
+
"name": "apikey",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"name": {
|
|
18
|
+
"name": "name",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": false,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"start": {
|
|
25
|
+
"name": "start",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": false,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"prefix": {
|
|
32
|
+
"name": "prefix",
|
|
33
|
+
"type": "text",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": false,
|
|
36
|
+
"autoincrement": false
|
|
37
|
+
},
|
|
38
|
+
"key": {
|
|
39
|
+
"name": "key",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"primaryKey": false,
|
|
42
|
+
"notNull": true,
|
|
43
|
+
"autoincrement": false
|
|
44
|
+
},
|
|
45
|
+
"referenceId": {
|
|
46
|
+
"name": "referenceId",
|
|
47
|
+
"type": "text",
|
|
48
|
+
"primaryKey": false,
|
|
49
|
+
"notNull": true,
|
|
50
|
+
"autoincrement": false
|
|
51
|
+
},
|
|
52
|
+
"refillInterval": {
|
|
53
|
+
"name": "refillInterval",
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"primaryKey": false,
|
|
56
|
+
"notNull": false,
|
|
57
|
+
"autoincrement": false
|
|
58
|
+
},
|
|
59
|
+
"refillAmount": {
|
|
60
|
+
"name": "refillAmount",
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"primaryKey": false,
|
|
63
|
+
"notNull": false,
|
|
64
|
+
"autoincrement": false
|
|
65
|
+
},
|
|
66
|
+
"lastRefillAt": {
|
|
67
|
+
"name": "lastRefillAt",
|
|
68
|
+
"type": "integer",
|
|
69
|
+
"primaryKey": false,
|
|
70
|
+
"notNull": false,
|
|
71
|
+
"autoincrement": false
|
|
72
|
+
},
|
|
73
|
+
"enabled": {
|
|
74
|
+
"name": "enabled",
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"primaryKey": false,
|
|
77
|
+
"notNull": true,
|
|
78
|
+
"autoincrement": false
|
|
79
|
+
},
|
|
80
|
+
"rateLimitEnabled": {
|
|
81
|
+
"name": "rateLimitEnabled",
|
|
82
|
+
"type": "integer",
|
|
83
|
+
"primaryKey": false,
|
|
84
|
+
"notNull": true,
|
|
85
|
+
"autoincrement": false
|
|
86
|
+
},
|
|
87
|
+
"rateLimitTimeWindow": {
|
|
88
|
+
"name": "rateLimitTimeWindow",
|
|
89
|
+
"type": "integer",
|
|
90
|
+
"primaryKey": false,
|
|
91
|
+
"notNull": true,
|
|
92
|
+
"autoincrement": false
|
|
93
|
+
},
|
|
94
|
+
"rateLimitMax": {
|
|
95
|
+
"name": "rateLimitMax",
|
|
96
|
+
"type": "integer",
|
|
97
|
+
"primaryKey": false,
|
|
98
|
+
"notNull": true,
|
|
99
|
+
"autoincrement": false
|
|
100
|
+
},
|
|
101
|
+
"requestCount": {
|
|
102
|
+
"name": "requestCount",
|
|
103
|
+
"type": "integer",
|
|
104
|
+
"primaryKey": false,
|
|
105
|
+
"notNull": true,
|
|
106
|
+
"autoincrement": false
|
|
107
|
+
},
|
|
108
|
+
"remaining": {
|
|
109
|
+
"name": "remaining",
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"primaryKey": false,
|
|
112
|
+
"notNull": false,
|
|
113
|
+
"autoincrement": false
|
|
114
|
+
},
|
|
115
|
+
"lastRequest": {
|
|
116
|
+
"name": "lastRequest",
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"primaryKey": false,
|
|
119
|
+
"notNull": false,
|
|
120
|
+
"autoincrement": false
|
|
121
|
+
},
|
|
122
|
+
"expiresAt": {
|
|
123
|
+
"name": "expiresAt",
|
|
124
|
+
"type": "integer",
|
|
125
|
+
"primaryKey": false,
|
|
126
|
+
"notNull": false,
|
|
127
|
+
"autoincrement": false
|
|
128
|
+
},
|
|
129
|
+
"createdAt": {
|
|
130
|
+
"name": "createdAt",
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"primaryKey": false,
|
|
133
|
+
"notNull": true,
|
|
134
|
+
"autoincrement": false
|
|
135
|
+
},
|
|
136
|
+
"updatedAt": {
|
|
137
|
+
"name": "updatedAt",
|
|
138
|
+
"type": "integer",
|
|
139
|
+
"primaryKey": false,
|
|
140
|
+
"notNull": true,
|
|
141
|
+
"autoincrement": false
|
|
142
|
+
},
|
|
143
|
+
"permissions": {
|
|
144
|
+
"name": "permissions",
|
|
145
|
+
"type": "text",
|
|
146
|
+
"primaryKey": false,
|
|
147
|
+
"notNull": false,
|
|
148
|
+
"autoincrement": false
|
|
149
|
+
},
|
|
150
|
+
"metadata": {
|
|
151
|
+
"name": "metadata",
|
|
152
|
+
"type": "text",
|
|
153
|
+
"primaryKey": false,
|
|
154
|
+
"notNull": false,
|
|
155
|
+
"autoincrement": false
|
|
156
|
+
},
|
|
157
|
+
"configId": {
|
|
158
|
+
"name": "configId",
|
|
159
|
+
"type": "text",
|
|
160
|
+
"primaryKey": false,
|
|
161
|
+
"notNull": true,
|
|
162
|
+
"autoincrement": false
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"indexes": {
|
|
166
|
+
"apikey_key_unique": {
|
|
167
|
+
"name": "apikey_key_unique",
|
|
168
|
+
"columns": [
|
|
169
|
+
"key"
|
|
170
|
+
],
|
|
171
|
+
"isUnique": true
|
|
172
|
+
},
|
|
173
|
+
"apikey_reference_id_idx": {
|
|
174
|
+
"name": "apikey_reference_id_idx",
|
|
175
|
+
"columns": [
|
|
176
|
+
"referenceId"
|
|
177
|
+
],
|
|
178
|
+
"isUnique": false
|
|
179
|
+
},
|
|
180
|
+
"apikey_config_id_idx": {
|
|
181
|
+
"name": "apikey_config_id_idx",
|
|
182
|
+
"columns": [
|
|
183
|
+
"configId"
|
|
184
|
+
],
|
|
185
|
+
"isUnique": false
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"foreignKeys": {
|
|
189
|
+
"apikey_referenceId_user_id_fk": {
|
|
190
|
+
"name": "apikey_referenceId_user_id_fk",
|
|
191
|
+
"tableFrom": "apikey",
|
|
192
|
+
"tableTo": "user",
|
|
193
|
+
"columnsFrom": [
|
|
194
|
+
"referenceId"
|
|
195
|
+
],
|
|
196
|
+
"columnsTo": [
|
|
197
|
+
"id"
|
|
198
|
+
],
|
|
199
|
+
"onDelete": "cascade",
|
|
200
|
+
"onUpdate": "no action"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"compositePrimaryKeys": {},
|
|
204
|
+
"uniqueConstraints": {},
|
|
205
|
+
"checkConstraints": {}
|
|
206
|
+
},
|
|
207
|
+
"user": {
|
|
208
|
+
"name": "user",
|
|
209
|
+
"columns": {
|
|
210
|
+
"id": {
|
|
211
|
+
"name": "id",
|
|
212
|
+
"type": "text",
|
|
213
|
+
"primaryKey": true,
|
|
214
|
+
"notNull": true,
|
|
215
|
+
"autoincrement": false
|
|
216
|
+
},
|
|
217
|
+
"name": {
|
|
218
|
+
"name": "name",
|
|
219
|
+
"type": "text",
|
|
220
|
+
"primaryKey": false,
|
|
221
|
+
"notNull": true,
|
|
222
|
+
"autoincrement": false
|
|
223
|
+
},
|
|
224
|
+
"email": {
|
|
225
|
+
"name": "email",
|
|
226
|
+
"type": "text",
|
|
227
|
+
"primaryKey": false,
|
|
228
|
+
"notNull": true,
|
|
229
|
+
"autoincrement": false
|
|
230
|
+
},
|
|
231
|
+
"emailVerified": {
|
|
232
|
+
"name": "emailVerified",
|
|
233
|
+
"type": "integer",
|
|
234
|
+
"primaryKey": false,
|
|
235
|
+
"notNull": true,
|
|
236
|
+
"autoincrement": false
|
|
237
|
+
},
|
|
238
|
+
"image": {
|
|
239
|
+
"name": "image",
|
|
240
|
+
"type": "text",
|
|
241
|
+
"primaryKey": false,
|
|
242
|
+
"notNull": false,
|
|
243
|
+
"autoincrement": false
|
|
244
|
+
},
|
|
245
|
+
"createdAt": {
|
|
246
|
+
"name": "createdAt",
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"primaryKey": false,
|
|
249
|
+
"notNull": true,
|
|
250
|
+
"autoincrement": false
|
|
251
|
+
},
|
|
252
|
+
"updatedAt": {
|
|
253
|
+
"name": "updatedAt",
|
|
254
|
+
"type": "integer",
|
|
255
|
+
"primaryKey": false,
|
|
256
|
+
"notNull": true,
|
|
257
|
+
"autoincrement": false
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"indexes": {
|
|
261
|
+
"user_email_unique": {
|
|
262
|
+
"name": "user_email_unique",
|
|
263
|
+
"columns": [
|
|
264
|
+
"email"
|
|
265
|
+
],
|
|
266
|
+
"isUnique": true
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"foreignKeys": {},
|
|
270
|
+
"compositePrimaryKeys": {},
|
|
271
|
+
"uniqueConstraints": {},
|
|
272
|
+
"checkConstraints": {}
|
|
273
|
+
},
|
|
274
|
+
"automations": {
|
|
275
|
+
"name": "automations",
|
|
276
|
+
"columns": {
|
|
277
|
+
"id": {
|
|
278
|
+
"name": "id",
|
|
279
|
+
"type": "text",
|
|
280
|
+
"primaryKey": true,
|
|
281
|
+
"notNull": true,
|
|
282
|
+
"autoincrement": false
|
|
283
|
+
},
|
|
284
|
+
"project_id": {
|
|
285
|
+
"name": "project_id",
|
|
286
|
+
"type": "text",
|
|
287
|
+
"primaryKey": false,
|
|
288
|
+
"notNull": true,
|
|
289
|
+
"autoincrement": false
|
|
290
|
+
},
|
|
291
|
+
"name": {
|
|
292
|
+
"name": "name",
|
|
293
|
+
"type": "text",
|
|
294
|
+
"primaryKey": false,
|
|
295
|
+
"notNull": true,
|
|
296
|
+
"autoincrement": false
|
|
297
|
+
},
|
|
298
|
+
"enabled": {
|
|
299
|
+
"name": "enabled",
|
|
300
|
+
"type": "integer",
|
|
301
|
+
"primaryKey": false,
|
|
302
|
+
"notNull": true,
|
|
303
|
+
"autoincrement": false,
|
|
304
|
+
"default": true
|
|
305
|
+
},
|
|
306
|
+
"trigger_type": {
|
|
307
|
+
"name": "trigger_type",
|
|
308
|
+
"type": "text",
|
|
309
|
+
"primaryKey": false,
|
|
310
|
+
"notNull": true,
|
|
311
|
+
"autoincrement": false
|
|
312
|
+
},
|
|
313
|
+
"trigger_config": {
|
|
314
|
+
"name": "trigger_config",
|
|
315
|
+
"type": "text",
|
|
316
|
+
"primaryKey": false,
|
|
317
|
+
"notNull": true,
|
|
318
|
+
"autoincrement": false
|
|
319
|
+
},
|
|
320
|
+
"action": {
|
|
321
|
+
"name": "action",
|
|
322
|
+
"type": "text",
|
|
323
|
+
"primaryKey": false,
|
|
324
|
+
"notNull": true,
|
|
325
|
+
"autoincrement": false
|
|
326
|
+
},
|
|
327
|
+
"auto_archive": {
|
|
328
|
+
"name": "auto_archive",
|
|
329
|
+
"type": "integer",
|
|
330
|
+
"primaryKey": false,
|
|
331
|
+
"notNull": true,
|
|
332
|
+
"autoincrement": false,
|
|
333
|
+
"default": false
|
|
334
|
+
},
|
|
335
|
+
"next_run_at": {
|
|
336
|
+
"name": "next_run_at",
|
|
337
|
+
"type": "integer",
|
|
338
|
+
"primaryKey": false,
|
|
339
|
+
"notNull": false,
|
|
340
|
+
"autoincrement": false
|
|
341
|
+
},
|
|
342
|
+
"last_run_at": {
|
|
343
|
+
"name": "last_run_at",
|
|
344
|
+
"type": "integer",
|
|
345
|
+
"primaryKey": false,
|
|
346
|
+
"notNull": false,
|
|
347
|
+
"autoincrement": false
|
|
348
|
+
},
|
|
349
|
+
"run_count": {
|
|
350
|
+
"name": "run_count",
|
|
351
|
+
"type": "integer",
|
|
352
|
+
"primaryKey": false,
|
|
353
|
+
"notNull": true,
|
|
354
|
+
"autoincrement": false,
|
|
355
|
+
"default": 0
|
|
356
|
+
},
|
|
357
|
+
"created_at": {
|
|
358
|
+
"name": "created_at",
|
|
359
|
+
"type": "integer",
|
|
360
|
+
"primaryKey": false,
|
|
361
|
+
"notNull": true,
|
|
362
|
+
"autoincrement": false
|
|
363
|
+
},
|
|
364
|
+
"updated_at": {
|
|
365
|
+
"name": "updated_at",
|
|
366
|
+
"type": "integer",
|
|
367
|
+
"primaryKey": false,
|
|
368
|
+
"notNull": true,
|
|
369
|
+
"autoincrement": false
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"indexes": {
|
|
373
|
+
"automations_project_idx": {
|
|
374
|
+
"name": "automations_project_idx",
|
|
375
|
+
"columns": [
|
|
376
|
+
"project_id"
|
|
377
|
+
],
|
|
378
|
+
"isUnique": false
|
|
379
|
+
},
|
|
380
|
+
"automations_due_idx": {
|
|
381
|
+
"name": "automations_due_idx",
|
|
382
|
+
"columns": [
|
|
383
|
+
"enabled",
|
|
384
|
+
"trigger_type",
|
|
385
|
+
"next_run_at"
|
|
386
|
+
],
|
|
387
|
+
"isUnique": false
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"foreignKeys": {
|
|
391
|
+
"automations_project_id_projects_id_fk": {
|
|
392
|
+
"name": "automations_project_id_projects_id_fk",
|
|
393
|
+
"tableFrom": "automations",
|
|
394
|
+
"tableTo": "projects",
|
|
395
|
+
"columnsFrom": [
|
|
396
|
+
"project_id"
|
|
397
|
+
],
|
|
398
|
+
"columnsTo": [
|
|
399
|
+
"id"
|
|
400
|
+
],
|
|
401
|
+
"onDelete": "cascade",
|
|
402
|
+
"onUpdate": "no action"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"compositePrimaryKeys": {},
|
|
406
|
+
"uniqueConstraints": {},
|
|
407
|
+
"checkConstraints": {}
|
|
408
|
+
},
|
|
409
|
+
"environment_operations": {
|
|
410
|
+
"name": "environment_operations",
|
|
411
|
+
"columns": {
|
|
412
|
+
"id": {
|
|
413
|
+
"name": "id",
|
|
414
|
+
"type": "text",
|
|
415
|
+
"primaryKey": true,
|
|
416
|
+
"notNull": true,
|
|
417
|
+
"autoincrement": false
|
|
418
|
+
},
|
|
419
|
+
"environment_id": {
|
|
420
|
+
"name": "environment_id",
|
|
421
|
+
"type": "text",
|
|
422
|
+
"primaryKey": false,
|
|
423
|
+
"notNull": true,
|
|
424
|
+
"autoincrement": false
|
|
425
|
+
},
|
|
426
|
+
"kind": {
|
|
427
|
+
"name": "kind",
|
|
428
|
+
"type": "text",
|
|
429
|
+
"primaryKey": false,
|
|
430
|
+
"notNull": true,
|
|
431
|
+
"autoincrement": false
|
|
432
|
+
},
|
|
433
|
+
"state": {
|
|
434
|
+
"name": "state",
|
|
435
|
+
"type": "text",
|
|
436
|
+
"primaryKey": false,
|
|
437
|
+
"notNull": true,
|
|
438
|
+
"autoincrement": false
|
|
439
|
+
},
|
|
440
|
+
"payload": {
|
|
441
|
+
"name": "payload",
|
|
442
|
+
"type": "text",
|
|
443
|
+
"primaryKey": false,
|
|
444
|
+
"notNull": true,
|
|
445
|
+
"autoincrement": false
|
|
446
|
+
},
|
|
447
|
+
"command_id": {
|
|
448
|
+
"name": "command_id",
|
|
449
|
+
"type": "text",
|
|
450
|
+
"primaryKey": false,
|
|
451
|
+
"notNull": false,
|
|
452
|
+
"autoincrement": false
|
|
453
|
+
},
|
|
454
|
+
"requested_at": {
|
|
455
|
+
"name": "requested_at",
|
|
456
|
+
"type": "integer",
|
|
457
|
+
"primaryKey": false,
|
|
458
|
+
"notNull": true,
|
|
459
|
+
"autoincrement": false
|
|
460
|
+
},
|
|
461
|
+
"queued_at": {
|
|
462
|
+
"name": "queued_at",
|
|
463
|
+
"type": "integer",
|
|
464
|
+
"primaryKey": false,
|
|
465
|
+
"notNull": false,
|
|
466
|
+
"autoincrement": false
|
|
467
|
+
},
|
|
468
|
+
"completed_at": {
|
|
469
|
+
"name": "completed_at",
|
|
470
|
+
"type": "integer",
|
|
471
|
+
"primaryKey": false,
|
|
472
|
+
"notNull": false,
|
|
473
|
+
"autoincrement": false
|
|
474
|
+
},
|
|
475
|
+
"failure_reason": {
|
|
476
|
+
"name": "failure_reason",
|
|
477
|
+
"type": "text",
|
|
478
|
+
"primaryKey": false,
|
|
479
|
+
"notNull": false,
|
|
480
|
+
"autoincrement": false
|
|
481
|
+
},
|
|
482
|
+
"created_at": {
|
|
483
|
+
"name": "created_at",
|
|
484
|
+
"type": "integer",
|
|
485
|
+
"primaryKey": false,
|
|
486
|
+
"notNull": true,
|
|
487
|
+
"autoincrement": false
|
|
488
|
+
},
|
|
489
|
+
"updated_at": {
|
|
490
|
+
"name": "updated_at",
|
|
491
|
+
"type": "integer",
|
|
492
|
+
"primaryKey": false,
|
|
493
|
+
"notNull": true,
|
|
494
|
+
"autoincrement": false
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"indexes": {
|
|
498
|
+
"environment_operations_environment_kind_idx": {
|
|
499
|
+
"name": "environment_operations_environment_kind_idx",
|
|
500
|
+
"columns": [
|
|
501
|
+
"environment_id",
|
|
502
|
+
"kind"
|
|
503
|
+
],
|
|
504
|
+
"isUnique": true
|
|
505
|
+
},
|
|
506
|
+
"environment_operations_command_idx": {
|
|
507
|
+
"name": "environment_operations_command_idx",
|
|
508
|
+
"columns": [
|
|
509
|
+
"command_id"
|
|
510
|
+
],
|
|
511
|
+
"isUnique": true
|
|
512
|
+
},
|
|
513
|
+
"environment_operations_state_idx": {
|
|
514
|
+
"name": "environment_operations_state_idx",
|
|
515
|
+
"columns": [
|
|
516
|
+
"state"
|
|
517
|
+
],
|
|
518
|
+
"isUnique": false
|
|
519
|
+
},
|
|
520
|
+
"environment_operations_environment_idx": {
|
|
521
|
+
"name": "environment_operations_environment_idx",
|
|
522
|
+
"columns": [
|
|
523
|
+
"environment_id"
|
|
524
|
+
],
|
|
525
|
+
"isUnique": false
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"foreignKeys": {
|
|
529
|
+
"environment_operations_environment_id_environments_id_fk": {
|
|
530
|
+
"name": "environment_operations_environment_id_environments_id_fk",
|
|
531
|
+
"tableFrom": "environment_operations",
|
|
532
|
+
"tableTo": "environments",
|
|
533
|
+
"columnsFrom": [
|
|
534
|
+
"environment_id"
|
|
535
|
+
],
|
|
536
|
+
"columnsTo": [
|
|
537
|
+
"id"
|
|
538
|
+
],
|
|
539
|
+
"onDelete": "cascade",
|
|
540
|
+
"onUpdate": "no action"
|
|
541
|
+
},
|
|
542
|
+
"environment_operations_command_id_host_daemon_commands_id_fk": {
|
|
543
|
+
"name": "environment_operations_command_id_host_daemon_commands_id_fk",
|
|
544
|
+
"tableFrom": "environment_operations",
|
|
545
|
+
"tableTo": "host_daemon_commands",
|
|
546
|
+
"columnsFrom": [
|
|
547
|
+
"command_id"
|
|
548
|
+
],
|
|
549
|
+
"columnsTo": [
|
|
550
|
+
"id"
|
|
551
|
+
],
|
|
552
|
+
"onDelete": "set null",
|
|
553
|
+
"onUpdate": "no action"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"compositePrimaryKeys": {},
|
|
557
|
+
"uniqueConstraints": {},
|
|
558
|
+
"checkConstraints": {}
|
|
559
|
+
},
|
|
560
|
+
"environments": {
|
|
561
|
+
"name": "environments",
|
|
562
|
+
"columns": {
|
|
563
|
+
"id": {
|
|
564
|
+
"name": "id",
|
|
565
|
+
"type": "text",
|
|
566
|
+
"primaryKey": true,
|
|
567
|
+
"notNull": true,
|
|
568
|
+
"autoincrement": false
|
|
569
|
+
},
|
|
570
|
+
"project_id": {
|
|
571
|
+
"name": "project_id",
|
|
572
|
+
"type": "text",
|
|
573
|
+
"primaryKey": false,
|
|
574
|
+
"notNull": true,
|
|
575
|
+
"autoincrement": false
|
|
576
|
+
},
|
|
577
|
+
"host_id": {
|
|
578
|
+
"name": "host_id",
|
|
579
|
+
"type": "text",
|
|
580
|
+
"primaryKey": false,
|
|
581
|
+
"notNull": true,
|
|
582
|
+
"autoincrement": false
|
|
583
|
+
},
|
|
584
|
+
"path": {
|
|
585
|
+
"name": "path",
|
|
586
|
+
"type": "text",
|
|
587
|
+
"primaryKey": false,
|
|
588
|
+
"notNull": false,
|
|
589
|
+
"autoincrement": false
|
|
590
|
+
},
|
|
591
|
+
"managed": {
|
|
592
|
+
"name": "managed",
|
|
593
|
+
"type": "integer",
|
|
594
|
+
"primaryKey": false,
|
|
595
|
+
"notNull": true,
|
|
596
|
+
"autoincrement": false,
|
|
597
|
+
"default": false
|
|
598
|
+
},
|
|
599
|
+
"is_git_repo": {
|
|
600
|
+
"name": "is_git_repo",
|
|
601
|
+
"type": "integer",
|
|
602
|
+
"primaryKey": false,
|
|
603
|
+
"notNull": true,
|
|
604
|
+
"autoincrement": false,
|
|
605
|
+
"default": false
|
|
606
|
+
},
|
|
607
|
+
"is_worktree": {
|
|
608
|
+
"name": "is_worktree",
|
|
609
|
+
"type": "integer",
|
|
610
|
+
"primaryKey": false,
|
|
611
|
+
"notNull": true,
|
|
612
|
+
"autoincrement": false,
|
|
613
|
+
"default": false
|
|
614
|
+
},
|
|
615
|
+
"branch_name": {
|
|
616
|
+
"name": "branch_name",
|
|
617
|
+
"type": "text",
|
|
618
|
+
"primaryKey": false,
|
|
619
|
+
"notNull": false,
|
|
620
|
+
"autoincrement": false
|
|
621
|
+
},
|
|
622
|
+
"base_branch": {
|
|
623
|
+
"name": "base_branch",
|
|
624
|
+
"type": "text",
|
|
625
|
+
"primaryKey": false,
|
|
626
|
+
"notNull": false,
|
|
627
|
+
"autoincrement": false
|
|
628
|
+
},
|
|
629
|
+
"default_branch": {
|
|
630
|
+
"name": "default_branch",
|
|
631
|
+
"type": "text",
|
|
632
|
+
"primaryKey": false,
|
|
633
|
+
"notNull": false,
|
|
634
|
+
"autoincrement": false
|
|
635
|
+
},
|
|
636
|
+
"merge_base_branch": {
|
|
637
|
+
"name": "merge_base_branch",
|
|
638
|
+
"type": "text",
|
|
639
|
+
"primaryKey": false,
|
|
640
|
+
"notNull": false,
|
|
641
|
+
"autoincrement": false
|
|
642
|
+
},
|
|
643
|
+
"cleanup_requested_at": {
|
|
644
|
+
"name": "cleanup_requested_at",
|
|
645
|
+
"type": "integer",
|
|
646
|
+
"primaryKey": false,
|
|
647
|
+
"notNull": false,
|
|
648
|
+
"autoincrement": false
|
|
649
|
+
},
|
|
650
|
+
"cleanup_mode": {
|
|
651
|
+
"name": "cleanup_mode",
|
|
652
|
+
"type": "text",
|
|
653
|
+
"primaryKey": false,
|
|
654
|
+
"notNull": false,
|
|
655
|
+
"autoincrement": false
|
|
656
|
+
},
|
|
657
|
+
"workspace_provision_type": {
|
|
658
|
+
"name": "workspace_provision_type",
|
|
659
|
+
"type": "text",
|
|
660
|
+
"primaryKey": false,
|
|
661
|
+
"notNull": true,
|
|
662
|
+
"autoincrement": false
|
|
663
|
+
},
|
|
664
|
+
"status": {
|
|
665
|
+
"name": "status",
|
|
666
|
+
"type": "text",
|
|
667
|
+
"primaryKey": false,
|
|
668
|
+
"notNull": true,
|
|
669
|
+
"autoincrement": false,
|
|
670
|
+
"default": "'provisioning'"
|
|
671
|
+
},
|
|
672
|
+
"created_at": {
|
|
673
|
+
"name": "created_at",
|
|
674
|
+
"type": "integer",
|
|
675
|
+
"primaryKey": false,
|
|
676
|
+
"notNull": true,
|
|
677
|
+
"autoincrement": false
|
|
678
|
+
},
|
|
679
|
+
"updated_at": {
|
|
680
|
+
"name": "updated_at",
|
|
681
|
+
"type": "integer",
|
|
682
|
+
"primaryKey": false,
|
|
683
|
+
"notNull": true,
|
|
684
|
+
"autoincrement": false
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"indexes": {
|
|
688
|
+
"environments_host_path_idx": {
|
|
689
|
+
"name": "environments_host_path_idx",
|
|
690
|
+
"columns": [
|
|
691
|
+
"host_id",
|
|
692
|
+
"path"
|
|
693
|
+
],
|
|
694
|
+
"isUnique": true
|
|
695
|
+
},
|
|
696
|
+
"environments_project_idx": {
|
|
697
|
+
"name": "environments_project_idx",
|
|
698
|
+
"columns": [
|
|
699
|
+
"project_id"
|
|
700
|
+
],
|
|
701
|
+
"isUnique": false
|
|
702
|
+
},
|
|
703
|
+
"environments_cleanup_requested_idx": {
|
|
704
|
+
"name": "environments_cleanup_requested_idx",
|
|
705
|
+
"columns": [
|
|
706
|
+
"cleanup_requested_at"
|
|
707
|
+
],
|
|
708
|
+
"isUnique": false
|
|
709
|
+
},
|
|
710
|
+
"environments_status_idx": {
|
|
711
|
+
"name": "environments_status_idx",
|
|
712
|
+
"columns": [
|
|
713
|
+
"status"
|
|
714
|
+
],
|
|
715
|
+
"isUnique": false
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"foreignKeys": {
|
|
719
|
+
"environments_project_id_projects_id_fk": {
|
|
720
|
+
"name": "environments_project_id_projects_id_fk",
|
|
721
|
+
"tableFrom": "environments",
|
|
722
|
+
"tableTo": "projects",
|
|
723
|
+
"columnsFrom": [
|
|
724
|
+
"project_id"
|
|
725
|
+
],
|
|
726
|
+
"columnsTo": [
|
|
727
|
+
"id"
|
|
728
|
+
],
|
|
729
|
+
"onDelete": "cascade",
|
|
730
|
+
"onUpdate": "no action"
|
|
731
|
+
},
|
|
732
|
+
"environments_host_id_hosts_id_fk": {
|
|
733
|
+
"name": "environments_host_id_hosts_id_fk",
|
|
734
|
+
"tableFrom": "environments",
|
|
735
|
+
"tableTo": "hosts",
|
|
736
|
+
"columnsFrom": [
|
|
737
|
+
"host_id"
|
|
738
|
+
],
|
|
739
|
+
"columnsTo": [
|
|
740
|
+
"id"
|
|
741
|
+
],
|
|
742
|
+
"onDelete": "cascade",
|
|
743
|
+
"onUpdate": "no action"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"compositePrimaryKeys": {},
|
|
747
|
+
"uniqueConstraints": {},
|
|
748
|
+
"checkConstraints": {}
|
|
749
|
+
},
|
|
750
|
+
"events": {
|
|
751
|
+
"name": "events",
|
|
752
|
+
"columns": {
|
|
753
|
+
"id": {
|
|
754
|
+
"name": "id",
|
|
755
|
+
"type": "text",
|
|
756
|
+
"primaryKey": true,
|
|
757
|
+
"notNull": true,
|
|
758
|
+
"autoincrement": false
|
|
759
|
+
},
|
|
760
|
+
"thread_id": {
|
|
761
|
+
"name": "thread_id",
|
|
762
|
+
"type": "text",
|
|
763
|
+
"primaryKey": false,
|
|
764
|
+
"notNull": true,
|
|
765
|
+
"autoincrement": false
|
|
766
|
+
},
|
|
767
|
+
"environment_id": {
|
|
768
|
+
"name": "environment_id",
|
|
769
|
+
"type": "text",
|
|
770
|
+
"primaryKey": false,
|
|
771
|
+
"notNull": false,
|
|
772
|
+
"autoincrement": false
|
|
773
|
+
},
|
|
774
|
+
"scope_kind": {
|
|
775
|
+
"name": "scope_kind",
|
|
776
|
+
"type": "text",
|
|
777
|
+
"primaryKey": false,
|
|
778
|
+
"notNull": true,
|
|
779
|
+
"autoincrement": false
|
|
780
|
+
},
|
|
781
|
+
"turn_id": {
|
|
782
|
+
"name": "turn_id",
|
|
783
|
+
"type": "text",
|
|
784
|
+
"primaryKey": false,
|
|
785
|
+
"notNull": false,
|
|
786
|
+
"autoincrement": false
|
|
787
|
+
},
|
|
788
|
+
"provider_thread_id": {
|
|
789
|
+
"name": "provider_thread_id",
|
|
790
|
+
"type": "text",
|
|
791
|
+
"primaryKey": false,
|
|
792
|
+
"notNull": false,
|
|
793
|
+
"autoincrement": false
|
|
794
|
+
},
|
|
795
|
+
"sequence": {
|
|
796
|
+
"name": "sequence",
|
|
797
|
+
"type": "integer",
|
|
798
|
+
"primaryKey": false,
|
|
799
|
+
"notNull": true,
|
|
800
|
+
"autoincrement": false
|
|
801
|
+
},
|
|
802
|
+
"type": {
|
|
803
|
+
"name": "type",
|
|
804
|
+
"type": "text",
|
|
805
|
+
"primaryKey": false,
|
|
806
|
+
"notNull": true,
|
|
807
|
+
"autoincrement": false
|
|
808
|
+
},
|
|
809
|
+
"item_id": {
|
|
810
|
+
"name": "item_id",
|
|
811
|
+
"type": "text",
|
|
812
|
+
"primaryKey": false,
|
|
813
|
+
"notNull": false,
|
|
814
|
+
"autoincrement": false
|
|
815
|
+
},
|
|
816
|
+
"item_kind": {
|
|
817
|
+
"name": "item_kind",
|
|
818
|
+
"type": "text",
|
|
819
|
+
"primaryKey": false,
|
|
820
|
+
"notNull": false,
|
|
821
|
+
"autoincrement": false
|
|
822
|
+
},
|
|
823
|
+
"producer_event_id": {
|
|
824
|
+
"name": "producer_event_id",
|
|
825
|
+
"type": "text",
|
|
826
|
+
"primaryKey": false,
|
|
827
|
+
"notNull": false,
|
|
828
|
+
"autoincrement": false
|
|
829
|
+
},
|
|
830
|
+
"producer_event_payload_hash": {
|
|
831
|
+
"name": "producer_event_payload_hash",
|
|
832
|
+
"type": "text",
|
|
833
|
+
"primaryKey": false,
|
|
834
|
+
"notNull": false,
|
|
835
|
+
"autoincrement": false
|
|
836
|
+
},
|
|
837
|
+
"data": {
|
|
838
|
+
"name": "data",
|
|
839
|
+
"type": "text",
|
|
840
|
+
"primaryKey": false,
|
|
841
|
+
"notNull": true,
|
|
842
|
+
"autoincrement": false,
|
|
843
|
+
"default": "'{}'"
|
|
844
|
+
},
|
|
845
|
+
"created_at": {
|
|
846
|
+
"name": "created_at",
|
|
847
|
+
"type": "integer",
|
|
848
|
+
"primaryKey": false,
|
|
849
|
+
"notNull": true,
|
|
850
|
+
"autoincrement": false
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"indexes": {
|
|
854
|
+
"events_thread_sequence_idx": {
|
|
855
|
+
"name": "events_thread_sequence_idx",
|
|
856
|
+
"columns": [
|
|
857
|
+
"thread_id",
|
|
858
|
+
"sequence"
|
|
859
|
+
],
|
|
860
|
+
"isUnique": true
|
|
861
|
+
},
|
|
862
|
+
"events_producer_event_id_idx": {
|
|
863
|
+
"name": "events_producer_event_id_idx",
|
|
864
|
+
"columns": [
|
|
865
|
+
"producer_event_id"
|
|
866
|
+
],
|
|
867
|
+
"isUnique": true
|
|
868
|
+
},
|
|
869
|
+
"events_thread_type_item_kind_sequence_idx": {
|
|
870
|
+
"name": "events_thread_type_item_kind_sequence_idx",
|
|
871
|
+
"columns": [
|
|
872
|
+
"thread_id",
|
|
873
|
+
"type",
|
|
874
|
+
"item_kind",
|
|
875
|
+
"sequence"
|
|
876
|
+
],
|
|
877
|
+
"isUnique": false
|
|
878
|
+
},
|
|
879
|
+
"events_thread_type_sequence_idx": {
|
|
880
|
+
"name": "events_thread_type_sequence_idx",
|
|
881
|
+
"columns": [
|
|
882
|
+
"thread_id",
|
|
883
|
+
"type",
|
|
884
|
+
"sequence"
|
|
885
|
+
],
|
|
886
|
+
"isUnique": false
|
|
887
|
+
},
|
|
888
|
+
"events_thread_turn_type_item_sequence_idx": {
|
|
889
|
+
"name": "events_thread_turn_type_item_sequence_idx",
|
|
890
|
+
"columns": [
|
|
891
|
+
"thread_id",
|
|
892
|
+
"turn_id",
|
|
893
|
+
"type",
|
|
894
|
+
"item_id",
|
|
895
|
+
"sequence"
|
|
896
|
+
],
|
|
897
|
+
"isUnique": false
|
|
898
|
+
},
|
|
899
|
+
"events_environment_idx": {
|
|
900
|
+
"name": "events_environment_idx",
|
|
901
|
+
"columns": [
|
|
902
|
+
"environment_id"
|
|
903
|
+
],
|
|
904
|
+
"isUnique": false
|
|
905
|
+
},
|
|
906
|
+
"events_completed_item_truncation_idx": {
|
|
907
|
+
"name": "events_completed_item_truncation_idx",
|
|
908
|
+
"columns": [
|
|
909
|
+
"item_kind",
|
|
910
|
+
"created_at",
|
|
911
|
+
"id"
|
|
912
|
+
],
|
|
913
|
+
"isUnique": false,
|
|
914
|
+
"where": "\"events\".\"type\" = 'item/completed'"
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"foreignKeys": {
|
|
918
|
+
"events_thread_id_threads_id_fk": {
|
|
919
|
+
"name": "events_thread_id_threads_id_fk",
|
|
920
|
+
"tableFrom": "events",
|
|
921
|
+
"tableTo": "threads",
|
|
922
|
+
"columnsFrom": [
|
|
923
|
+
"thread_id"
|
|
924
|
+
],
|
|
925
|
+
"columnsTo": [
|
|
926
|
+
"id"
|
|
927
|
+
],
|
|
928
|
+
"onDelete": "cascade",
|
|
929
|
+
"onUpdate": "no action"
|
|
930
|
+
},
|
|
931
|
+
"events_environment_id_environments_id_fk": {
|
|
932
|
+
"name": "events_environment_id_environments_id_fk",
|
|
933
|
+
"tableFrom": "events",
|
|
934
|
+
"tableTo": "environments",
|
|
935
|
+
"columnsFrom": [
|
|
936
|
+
"environment_id"
|
|
937
|
+
],
|
|
938
|
+
"columnsTo": [
|
|
939
|
+
"id"
|
|
940
|
+
],
|
|
941
|
+
"onDelete": "set null",
|
|
942
|
+
"onUpdate": "no action"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"compositePrimaryKeys": {},
|
|
946
|
+
"uniqueConstraints": {},
|
|
947
|
+
"checkConstraints": {
|
|
948
|
+
"events_scope_shape_check": {
|
|
949
|
+
"name": "events_scope_shape_check",
|
|
950
|
+
"value": "(\n (\"events\".\"scope_kind\" = 'turn' AND \"events\".\"turn_id\" IS NOT NULL)\n OR\n (\"events\".\"scope_kind\" = 'thread' AND \"events\".\"turn_id\" IS NULL)\n )"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"host_daemon_commands": {
|
|
955
|
+
"name": "host_daemon_commands",
|
|
956
|
+
"columns": {
|
|
957
|
+
"id": {
|
|
958
|
+
"name": "id",
|
|
959
|
+
"type": "text",
|
|
960
|
+
"primaryKey": true,
|
|
961
|
+
"notNull": true,
|
|
962
|
+
"autoincrement": false
|
|
963
|
+
},
|
|
964
|
+
"host_id": {
|
|
965
|
+
"name": "host_id",
|
|
966
|
+
"type": "text",
|
|
967
|
+
"primaryKey": false,
|
|
968
|
+
"notNull": true,
|
|
969
|
+
"autoincrement": false
|
|
970
|
+
},
|
|
971
|
+
"session_id": {
|
|
972
|
+
"name": "session_id",
|
|
973
|
+
"type": "text",
|
|
974
|
+
"primaryKey": false,
|
|
975
|
+
"notNull": false,
|
|
976
|
+
"autoincrement": false
|
|
977
|
+
},
|
|
978
|
+
"cursor": {
|
|
979
|
+
"name": "cursor",
|
|
980
|
+
"type": "integer",
|
|
981
|
+
"primaryKey": false,
|
|
982
|
+
"notNull": true,
|
|
983
|
+
"autoincrement": false
|
|
984
|
+
},
|
|
985
|
+
"type": {
|
|
986
|
+
"name": "type",
|
|
987
|
+
"type": "text",
|
|
988
|
+
"primaryKey": false,
|
|
989
|
+
"notNull": true,
|
|
990
|
+
"autoincrement": false
|
|
991
|
+
},
|
|
992
|
+
"payload": {
|
|
993
|
+
"name": "payload",
|
|
994
|
+
"type": "text",
|
|
995
|
+
"primaryKey": false,
|
|
996
|
+
"notNull": true,
|
|
997
|
+
"autoincrement": false
|
|
998
|
+
},
|
|
999
|
+
"state": {
|
|
1000
|
+
"name": "state",
|
|
1001
|
+
"type": "text",
|
|
1002
|
+
"primaryKey": false,
|
|
1003
|
+
"notNull": true,
|
|
1004
|
+
"autoincrement": false
|
|
1005
|
+
},
|
|
1006
|
+
"retry_count": {
|
|
1007
|
+
"name": "retry_count",
|
|
1008
|
+
"type": "integer",
|
|
1009
|
+
"primaryKey": false,
|
|
1010
|
+
"notNull": true,
|
|
1011
|
+
"autoincrement": false,
|
|
1012
|
+
"default": 0
|
|
1013
|
+
},
|
|
1014
|
+
"result_payload": {
|
|
1015
|
+
"name": "result_payload",
|
|
1016
|
+
"type": "text",
|
|
1017
|
+
"primaryKey": false,
|
|
1018
|
+
"notNull": false,
|
|
1019
|
+
"autoincrement": false
|
|
1020
|
+
},
|
|
1021
|
+
"created_at": {
|
|
1022
|
+
"name": "created_at",
|
|
1023
|
+
"type": "integer",
|
|
1024
|
+
"primaryKey": false,
|
|
1025
|
+
"notNull": true,
|
|
1026
|
+
"autoincrement": false
|
|
1027
|
+
},
|
|
1028
|
+
"fetched_at": {
|
|
1029
|
+
"name": "fetched_at",
|
|
1030
|
+
"type": "integer",
|
|
1031
|
+
"primaryKey": false,
|
|
1032
|
+
"notNull": false,
|
|
1033
|
+
"autoincrement": false
|
|
1034
|
+
},
|
|
1035
|
+
"completed_at": {
|
|
1036
|
+
"name": "completed_at",
|
|
1037
|
+
"type": "integer",
|
|
1038
|
+
"primaryKey": false,
|
|
1039
|
+
"notNull": false,
|
|
1040
|
+
"autoincrement": false
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"indexes": {
|
|
1044
|
+
"host_daemon_commands_host_cursor_idx": {
|
|
1045
|
+
"name": "host_daemon_commands_host_cursor_idx",
|
|
1046
|
+
"columns": [
|
|
1047
|
+
"host_id",
|
|
1048
|
+
"cursor"
|
|
1049
|
+
],
|
|
1050
|
+
"isUnique": true
|
|
1051
|
+
},
|
|
1052
|
+
"host_daemon_commands_session_idx": {
|
|
1053
|
+
"name": "host_daemon_commands_session_idx",
|
|
1054
|
+
"columns": [
|
|
1055
|
+
"session_id"
|
|
1056
|
+
],
|
|
1057
|
+
"isUnique": false
|
|
1058
|
+
},
|
|
1059
|
+
"host_daemon_commands_host_state_cursor_idx": {
|
|
1060
|
+
"name": "host_daemon_commands_host_state_cursor_idx",
|
|
1061
|
+
"columns": [
|
|
1062
|
+
"host_id",
|
|
1063
|
+
"state",
|
|
1064
|
+
"cursor"
|
|
1065
|
+
],
|
|
1066
|
+
"isUnique": false
|
|
1067
|
+
},
|
|
1068
|
+
"host_daemon_commands_host_type_state_idx": {
|
|
1069
|
+
"name": "host_daemon_commands_host_type_state_idx",
|
|
1070
|
+
"columns": [
|
|
1071
|
+
"host_id",
|
|
1072
|
+
"type",
|
|
1073
|
+
"state"
|
|
1074
|
+
],
|
|
1075
|
+
"isUnique": false
|
|
1076
|
+
},
|
|
1077
|
+
"host_daemon_commands_type_state_idx": {
|
|
1078
|
+
"name": "host_daemon_commands_type_state_idx",
|
|
1079
|
+
"columns": [
|
|
1080
|
+
"type",
|
|
1081
|
+
"state"
|
|
1082
|
+
],
|
|
1083
|
+
"isUnique": false
|
|
1084
|
+
},
|
|
1085
|
+
"host_daemon_commands_state_fetched_at_idx": {
|
|
1086
|
+
"name": "host_daemon_commands_state_fetched_at_idx",
|
|
1087
|
+
"columns": [
|
|
1088
|
+
"state",
|
|
1089
|
+
"fetched_at"
|
|
1090
|
+
],
|
|
1091
|
+
"isUnique": false
|
|
1092
|
+
},
|
|
1093
|
+
"host_daemon_commands_payload_prune_idx": {
|
|
1094
|
+
"name": "host_daemon_commands_payload_prune_idx",
|
|
1095
|
+
"columns": [
|
|
1096
|
+
"state",
|
|
1097
|
+
"completed_at"
|
|
1098
|
+
],
|
|
1099
|
+
"isUnique": false,
|
|
1100
|
+
"where": "\"host_daemon_commands\".\"completed_at\" IS NOT NULL\n AND (\"host_daemon_commands\".\"payload\" <> '{}' OR \"host_daemon_commands\".\"result_payload\" IS NOT NULL)"
|
|
1101
|
+
},
|
|
1102
|
+
"host_daemon_commands_completed_prune_idx": {
|
|
1103
|
+
"name": "host_daemon_commands_completed_prune_idx",
|
|
1104
|
+
"columns": [
|
|
1105
|
+
"completed_at"
|
|
1106
|
+
],
|
|
1107
|
+
"isUnique": false,
|
|
1108
|
+
"where": "\"host_daemon_commands\".\"completed_at\" IS NOT NULL"
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"foreignKeys": {
|
|
1112
|
+
"host_daemon_commands_host_id_hosts_id_fk": {
|
|
1113
|
+
"name": "host_daemon_commands_host_id_hosts_id_fk",
|
|
1114
|
+
"tableFrom": "host_daemon_commands",
|
|
1115
|
+
"tableTo": "hosts",
|
|
1116
|
+
"columnsFrom": [
|
|
1117
|
+
"host_id"
|
|
1118
|
+
],
|
|
1119
|
+
"columnsTo": [
|
|
1120
|
+
"id"
|
|
1121
|
+
],
|
|
1122
|
+
"onDelete": "cascade",
|
|
1123
|
+
"onUpdate": "no action"
|
|
1124
|
+
},
|
|
1125
|
+
"host_daemon_commands_session_id_host_daemon_sessions_id_fk": {
|
|
1126
|
+
"name": "host_daemon_commands_session_id_host_daemon_sessions_id_fk",
|
|
1127
|
+
"tableFrom": "host_daemon_commands",
|
|
1128
|
+
"tableTo": "host_daemon_sessions",
|
|
1129
|
+
"columnsFrom": [
|
|
1130
|
+
"session_id"
|
|
1131
|
+
],
|
|
1132
|
+
"columnsTo": [
|
|
1133
|
+
"id"
|
|
1134
|
+
],
|
|
1135
|
+
"onDelete": "set null",
|
|
1136
|
+
"onUpdate": "no action"
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"compositePrimaryKeys": {},
|
|
1140
|
+
"uniqueConstraints": {},
|
|
1141
|
+
"checkConstraints": {}
|
|
1142
|
+
},
|
|
1143
|
+
"host_daemon_sessions": {
|
|
1144
|
+
"name": "host_daemon_sessions",
|
|
1145
|
+
"columns": {
|
|
1146
|
+
"id": {
|
|
1147
|
+
"name": "id",
|
|
1148
|
+
"type": "text",
|
|
1149
|
+
"primaryKey": true,
|
|
1150
|
+
"notNull": true,
|
|
1151
|
+
"autoincrement": false
|
|
1152
|
+
},
|
|
1153
|
+
"host_id": {
|
|
1154
|
+
"name": "host_id",
|
|
1155
|
+
"type": "text",
|
|
1156
|
+
"primaryKey": false,
|
|
1157
|
+
"notNull": true,
|
|
1158
|
+
"autoincrement": false
|
|
1159
|
+
},
|
|
1160
|
+
"instance_id": {
|
|
1161
|
+
"name": "instance_id",
|
|
1162
|
+
"type": "text",
|
|
1163
|
+
"primaryKey": false,
|
|
1164
|
+
"notNull": true,
|
|
1165
|
+
"autoincrement": false
|
|
1166
|
+
},
|
|
1167
|
+
"host_name": {
|
|
1168
|
+
"name": "host_name",
|
|
1169
|
+
"type": "text",
|
|
1170
|
+
"primaryKey": false,
|
|
1171
|
+
"notNull": true,
|
|
1172
|
+
"autoincrement": false
|
|
1173
|
+
},
|
|
1174
|
+
"host_type": {
|
|
1175
|
+
"name": "host_type",
|
|
1176
|
+
"type": "text",
|
|
1177
|
+
"primaryKey": false,
|
|
1178
|
+
"notNull": true,
|
|
1179
|
+
"autoincrement": false
|
|
1180
|
+
},
|
|
1181
|
+
"data_dir": {
|
|
1182
|
+
"name": "data_dir",
|
|
1183
|
+
"type": "text",
|
|
1184
|
+
"primaryKey": false,
|
|
1185
|
+
"notNull": true,
|
|
1186
|
+
"autoincrement": false
|
|
1187
|
+
},
|
|
1188
|
+
"protocol_version": {
|
|
1189
|
+
"name": "protocol_version",
|
|
1190
|
+
"type": "integer",
|
|
1191
|
+
"primaryKey": false,
|
|
1192
|
+
"notNull": true,
|
|
1193
|
+
"autoincrement": false
|
|
1194
|
+
},
|
|
1195
|
+
"heartbeat_interval_ms": {
|
|
1196
|
+
"name": "heartbeat_interval_ms",
|
|
1197
|
+
"type": "integer",
|
|
1198
|
+
"primaryKey": false,
|
|
1199
|
+
"notNull": true,
|
|
1200
|
+
"autoincrement": false
|
|
1201
|
+
},
|
|
1202
|
+
"lease_timeout_ms": {
|
|
1203
|
+
"name": "lease_timeout_ms",
|
|
1204
|
+
"type": "integer",
|
|
1205
|
+
"primaryKey": false,
|
|
1206
|
+
"notNull": true,
|
|
1207
|
+
"autoincrement": false
|
|
1208
|
+
},
|
|
1209
|
+
"status": {
|
|
1210
|
+
"name": "status",
|
|
1211
|
+
"type": "text",
|
|
1212
|
+
"primaryKey": false,
|
|
1213
|
+
"notNull": true,
|
|
1214
|
+
"autoincrement": false
|
|
1215
|
+
},
|
|
1216
|
+
"lease_expires_at": {
|
|
1217
|
+
"name": "lease_expires_at",
|
|
1218
|
+
"type": "integer",
|
|
1219
|
+
"primaryKey": false,
|
|
1220
|
+
"notNull": true,
|
|
1221
|
+
"autoincrement": false
|
|
1222
|
+
},
|
|
1223
|
+
"last_heartbeat_at": {
|
|
1224
|
+
"name": "last_heartbeat_at",
|
|
1225
|
+
"type": "integer",
|
|
1226
|
+
"primaryKey": false,
|
|
1227
|
+
"notNull": false,
|
|
1228
|
+
"autoincrement": false
|
|
1229
|
+
},
|
|
1230
|
+
"closed_at": {
|
|
1231
|
+
"name": "closed_at",
|
|
1232
|
+
"type": "integer",
|
|
1233
|
+
"primaryKey": false,
|
|
1234
|
+
"notNull": false,
|
|
1235
|
+
"autoincrement": false
|
|
1236
|
+
},
|
|
1237
|
+
"close_reason": {
|
|
1238
|
+
"name": "close_reason",
|
|
1239
|
+
"type": "text",
|
|
1240
|
+
"primaryKey": false,
|
|
1241
|
+
"notNull": false,
|
|
1242
|
+
"autoincrement": false
|
|
1243
|
+
},
|
|
1244
|
+
"created_at": {
|
|
1245
|
+
"name": "created_at",
|
|
1246
|
+
"type": "integer",
|
|
1247
|
+
"primaryKey": false,
|
|
1248
|
+
"notNull": true,
|
|
1249
|
+
"autoincrement": false
|
|
1250
|
+
},
|
|
1251
|
+
"updated_at": {
|
|
1252
|
+
"name": "updated_at",
|
|
1253
|
+
"type": "integer",
|
|
1254
|
+
"primaryKey": false,
|
|
1255
|
+
"notNull": true,
|
|
1256
|
+
"autoincrement": false
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"indexes": {
|
|
1260
|
+
"host_daemon_sessions_host_status_idx": {
|
|
1261
|
+
"name": "host_daemon_sessions_host_status_idx",
|
|
1262
|
+
"columns": [
|
|
1263
|
+
"host_id",
|
|
1264
|
+
"status"
|
|
1265
|
+
],
|
|
1266
|
+
"isUnique": false
|
|
1267
|
+
},
|
|
1268
|
+
"host_daemon_sessions_host_latest_idx": {
|
|
1269
|
+
"name": "host_daemon_sessions_host_latest_idx",
|
|
1270
|
+
"columns": [
|
|
1271
|
+
"host_id",
|
|
1272
|
+
"updated_at",
|
|
1273
|
+
"created_at",
|
|
1274
|
+
"id"
|
|
1275
|
+
],
|
|
1276
|
+
"isUnique": false
|
|
1277
|
+
},
|
|
1278
|
+
"host_daemon_sessions_closed_prune_idx": {
|
|
1279
|
+
"name": "host_daemon_sessions_closed_prune_idx",
|
|
1280
|
+
"columns": [
|
|
1281
|
+
"status",
|
|
1282
|
+
"closed_at",
|
|
1283
|
+
"id"
|
|
1284
|
+
],
|
|
1285
|
+
"isUnique": false
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"foreignKeys": {
|
|
1289
|
+
"host_daemon_sessions_host_id_hosts_id_fk": {
|
|
1290
|
+
"name": "host_daemon_sessions_host_id_hosts_id_fk",
|
|
1291
|
+
"tableFrom": "host_daemon_sessions",
|
|
1292
|
+
"tableTo": "hosts",
|
|
1293
|
+
"columnsFrom": [
|
|
1294
|
+
"host_id"
|
|
1295
|
+
],
|
|
1296
|
+
"columnsTo": [
|
|
1297
|
+
"id"
|
|
1298
|
+
],
|
|
1299
|
+
"onDelete": "cascade",
|
|
1300
|
+
"onUpdate": "no action"
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
"compositePrimaryKeys": {},
|
|
1304
|
+
"uniqueConstraints": {},
|
|
1305
|
+
"checkConstraints": {}
|
|
1306
|
+
},
|
|
1307
|
+
"hosts": {
|
|
1308
|
+
"name": "hosts",
|
|
1309
|
+
"columns": {
|
|
1310
|
+
"id": {
|
|
1311
|
+
"name": "id",
|
|
1312
|
+
"type": "text",
|
|
1313
|
+
"primaryKey": true,
|
|
1314
|
+
"notNull": true,
|
|
1315
|
+
"autoincrement": false
|
|
1316
|
+
},
|
|
1317
|
+
"name": {
|
|
1318
|
+
"name": "name",
|
|
1319
|
+
"type": "text",
|
|
1320
|
+
"primaryKey": false,
|
|
1321
|
+
"notNull": true,
|
|
1322
|
+
"autoincrement": false
|
|
1323
|
+
},
|
|
1324
|
+
"type": {
|
|
1325
|
+
"name": "type",
|
|
1326
|
+
"type": "text",
|
|
1327
|
+
"primaryKey": false,
|
|
1328
|
+
"notNull": true,
|
|
1329
|
+
"autoincrement": false
|
|
1330
|
+
},
|
|
1331
|
+
"command_cursor": {
|
|
1332
|
+
"name": "command_cursor",
|
|
1333
|
+
"type": "integer",
|
|
1334
|
+
"primaryKey": false,
|
|
1335
|
+
"notNull": true,
|
|
1336
|
+
"autoincrement": false,
|
|
1337
|
+
"default": 0
|
|
1338
|
+
},
|
|
1339
|
+
"destroyed_at": {
|
|
1340
|
+
"name": "destroyed_at",
|
|
1341
|
+
"type": "integer",
|
|
1342
|
+
"primaryKey": false,
|
|
1343
|
+
"notNull": false,
|
|
1344
|
+
"autoincrement": false
|
|
1345
|
+
},
|
|
1346
|
+
"last_seen_at": {
|
|
1347
|
+
"name": "last_seen_at",
|
|
1348
|
+
"type": "integer",
|
|
1349
|
+
"primaryKey": false,
|
|
1350
|
+
"notNull": false,
|
|
1351
|
+
"autoincrement": false
|
|
1352
|
+
},
|
|
1353
|
+
"created_at": {
|
|
1354
|
+
"name": "created_at",
|
|
1355
|
+
"type": "integer",
|
|
1356
|
+
"primaryKey": false,
|
|
1357
|
+
"notNull": true,
|
|
1358
|
+
"autoincrement": false
|
|
1359
|
+
},
|
|
1360
|
+
"updated_at": {
|
|
1361
|
+
"name": "updated_at",
|
|
1362
|
+
"type": "integer",
|
|
1363
|
+
"primaryKey": false,
|
|
1364
|
+
"notNull": true,
|
|
1365
|
+
"autoincrement": false
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
"indexes": {
|
|
1369
|
+
"hosts_last_seen_idx": {
|
|
1370
|
+
"name": "hosts_last_seen_idx",
|
|
1371
|
+
"columns": [
|
|
1372
|
+
"last_seen_at"
|
|
1373
|
+
],
|
|
1374
|
+
"isUnique": false
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"foreignKeys": {},
|
|
1378
|
+
"compositePrimaryKeys": {},
|
|
1379
|
+
"uniqueConstraints": {},
|
|
1380
|
+
"checkConstraints": {}
|
|
1381
|
+
},
|
|
1382
|
+
"maintenance_scan_cursors": {
|
|
1383
|
+
"name": "maintenance_scan_cursors",
|
|
1384
|
+
"columns": {
|
|
1385
|
+
"id": {
|
|
1386
|
+
"name": "id",
|
|
1387
|
+
"type": "text",
|
|
1388
|
+
"primaryKey": true,
|
|
1389
|
+
"notNull": true,
|
|
1390
|
+
"autoincrement": false
|
|
1391
|
+
},
|
|
1392
|
+
"policy": {
|
|
1393
|
+
"name": "policy",
|
|
1394
|
+
"type": "text",
|
|
1395
|
+
"primaryKey": false,
|
|
1396
|
+
"notNull": true,
|
|
1397
|
+
"autoincrement": false
|
|
1398
|
+
},
|
|
1399
|
+
"version": {
|
|
1400
|
+
"name": "version",
|
|
1401
|
+
"type": "integer",
|
|
1402
|
+
"primaryKey": false,
|
|
1403
|
+
"notNull": true,
|
|
1404
|
+
"autoincrement": false
|
|
1405
|
+
},
|
|
1406
|
+
"item_kind": {
|
|
1407
|
+
"name": "item_kind",
|
|
1408
|
+
"type": "text",
|
|
1409
|
+
"primaryKey": false,
|
|
1410
|
+
"notNull": true,
|
|
1411
|
+
"autoincrement": false
|
|
1412
|
+
},
|
|
1413
|
+
"output_path": {
|
|
1414
|
+
"name": "output_path",
|
|
1415
|
+
"type": "text",
|
|
1416
|
+
"primaryKey": false,
|
|
1417
|
+
"notNull": true,
|
|
1418
|
+
"autoincrement": false
|
|
1419
|
+
},
|
|
1420
|
+
"last_created_at": {
|
|
1421
|
+
"name": "last_created_at",
|
|
1422
|
+
"type": "integer",
|
|
1423
|
+
"primaryKey": false,
|
|
1424
|
+
"notNull": true,
|
|
1425
|
+
"autoincrement": false,
|
|
1426
|
+
"default": 0
|
|
1427
|
+
},
|
|
1428
|
+
"last_event_id": {
|
|
1429
|
+
"name": "last_event_id",
|
|
1430
|
+
"type": "text",
|
|
1431
|
+
"primaryKey": false,
|
|
1432
|
+
"notNull": true,
|
|
1433
|
+
"autoincrement": false,
|
|
1434
|
+
"default": "''"
|
|
1435
|
+
},
|
|
1436
|
+
"updated_at": {
|
|
1437
|
+
"name": "updated_at",
|
|
1438
|
+
"type": "integer",
|
|
1439
|
+
"primaryKey": false,
|
|
1440
|
+
"notNull": true,
|
|
1441
|
+
"autoincrement": false
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"indexes": {
|
|
1445
|
+
"maintenance_scan_cursors_path_idx": {
|
|
1446
|
+
"name": "maintenance_scan_cursors_path_idx",
|
|
1447
|
+
"columns": [
|
|
1448
|
+
"policy",
|
|
1449
|
+
"version",
|
|
1450
|
+
"item_kind",
|
|
1451
|
+
"output_path"
|
|
1452
|
+
],
|
|
1453
|
+
"isUnique": true
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
"foreignKeys": {},
|
|
1457
|
+
"compositePrimaryKeys": {},
|
|
1458
|
+
"uniqueConstraints": {},
|
|
1459
|
+
"checkConstraints": {}
|
|
1460
|
+
},
|
|
1461
|
+
"manager_thread_nudges": {
|
|
1462
|
+
"name": "manager_thread_nudges",
|
|
1463
|
+
"columns": {
|
|
1464
|
+
"id": {
|
|
1465
|
+
"name": "id",
|
|
1466
|
+
"type": "text",
|
|
1467
|
+
"primaryKey": true,
|
|
1468
|
+
"notNull": true,
|
|
1469
|
+
"autoincrement": false
|
|
1470
|
+
},
|
|
1471
|
+
"project_id": {
|
|
1472
|
+
"name": "project_id",
|
|
1473
|
+
"type": "text",
|
|
1474
|
+
"primaryKey": false,
|
|
1475
|
+
"notNull": true,
|
|
1476
|
+
"autoincrement": false
|
|
1477
|
+
},
|
|
1478
|
+
"thread_id": {
|
|
1479
|
+
"name": "thread_id",
|
|
1480
|
+
"type": "text",
|
|
1481
|
+
"primaryKey": false,
|
|
1482
|
+
"notNull": true,
|
|
1483
|
+
"autoincrement": false
|
|
1484
|
+
},
|
|
1485
|
+
"name": {
|
|
1486
|
+
"name": "name",
|
|
1487
|
+
"type": "text",
|
|
1488
|
+
"primaryKey": false,
|
|
1489
|
+
"notNull": true,
|
|
1490
|
+
"autoincrement": false
|
|
1491
|
+
},
|
|
1492
|
+
"cron": {
|
|
1493
|
+
"name": "cron",
|
|
1494
|
+
"type": "text",
|
|
1495
|
+
"primaryKey": false,
|
|
1496
|
+
"notNull": true,
|
|
1497
|
+
"autoincrement": false
|
|
1498
|
+
},
|
|
1499
|
+
"timezone": {
|
|
1500
|
+
"name": "timezone",
|
|
1501
|
+
"type": "text",
|
|
1502
|
+
"primaryKey": false,
|
|
1503
|
+
"notNull": true,
|
|
1504
|
+
"autoincrement": false
|
|
1505
|
+
},
|
|
1506
|
+
"enabled": {
|
|
1507
|
+
"name": "enabled",
|
|
1508
|
+
"type": "integer",
|
|
1509
|
+
"primaryKey": false,
|
|
1510
|
+
"notNull": true,
|
|
1511
|
+
"autoincrement": false,
|
|
1512
|
+
"default": true
|
|
1513
|
+
},
|
|
1514
|
+
"next_fire_at": {
|
|
1515
|
+
"name": "next_fire_at",
|
|
1516
|
+
"type": "integer",
|
|
1517
|
+
"primaryKey": false,
|
|
1518
|
+
"notNull": true,
|
|
1519
|
+
"autoincrement": false
|
|
1520
|
+
},
|
|
1521
|
+
"last_fired_at": {
|
|
1522
|
+
"name": "last_fired_at",
|
|
1523
|
+
"type": "integer",
|
|
1524
|
+
"primaryKey": false,
|
|
1525
|
+
"notNull": false,
|
|
1526
|
+
"autoincrement": false
|
|
1527
|
+
},
|
|
1528
|
+
"created_at": {
|
|
1529
|
+
"name": "created_at",
|
|
1530
|
+
"type": "integer",
|
|
1531
|
+
"primaryKey": false,
|
|
1532
|
+
"notNull": true,
|
|
1533
|
+
"autoincrement": false
|
|
1534
|
+
},
|
|
1535
|
+
"updated_at": {
|
|
1536
|
+
"name": "updated_at",
|
|
1537
|
+
"type": "integer",
|
|
1538
|
+
"primaryKey": false,
|
|
1539
|
+
"notNull": true,
|
|
1540
|
+
"autoincrement": false
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"indexes": {
|
|
1544
|
+
"manager_thread_nudges_due_idx": {
|
|
1545
|
+
"name": "manager_thread_nudges_due_idx",
|
|
1546
|
+
"columns": [
|
|
1547
|
+
"enabled",
|
|
1548
|
+
"next_fire_at"
|
|
1549
|
+
],
|
|
1550
|
+
"isUnique": false
|
|
1551
|
+
},
|
|
1552
|
+
"manager_thread_nudges_project_idx": {
|
|
1553
|
+
"name": "manager_thread_nudges_project_idx",
|
|
1554
|
+
"columns": [
|
|
1555
|
+
"project_id"
|
|
1556
|
+
],
|
|
1557
|
+
"isUnique": false
|
|
1558
|
+
},
|
|
1559
|
+
"manager_thread_nudges_sync_key_idx": {
|
|
1560
|
+
"name": "manager_thread_nudges_sync_key_idx",
|
|
1561
|
+
"columns": [
|
|
1562
|
+
"project_id",
|
|
1563
|
+
"thread_id",
|
|
1564
|
+
"name"
|
|
1565
|
+
],
|
|
1566
|
+
"isUnique": true
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"foreignKeys": {
|
|
1570
|
+
"manager_thread_nudges_project_id_projects_id_fk": {
|
|
1571
|
+
"name": "manager_thread_nudges_project_id_projects_id_fk",
|
|
1572
|
+
"tableFrom": "manager_thread_nudges",
|
|
1573
|
+
"tableTo": "projects",
|
|
1574
|
+
"columnsFrom": [
|
|
1575
|
+
"project_id"
|
|
1576
|
+
],
|
|
1577
|
+
"columnsTo": [
|
|
1578
|
+
"id"
|
|
1579
|
+
],
|
|
1580
|
+
"onDelete": "cascade",
|
|
1581
|
+
"onUpdate": "no action"
|
|
1582
|
+
},
|
|
1583
|
+
"manager_thread_nudges_thread_id_threads_id_fk": {
|
|
1584
|
+
"name": "manager_thread_nudges_thread_id_threads_id_fk",
|
|
1585
|
+
"tableFrom": "manager_thread_nudges",
|
|
1586
|
+
"tableTo": "threads",
|
|
1587
|
+
"columnsFrom": [
|
|
1588
|
+
"thread_id"
|
|
1589
|
+
],
|
|
1590
|
+
"columnsTo": [
|
|
1591
|
+
"id"
|
|
1592
|
+
],
|
|
1593
|
+
"onDelete": "cascade",
|
|
1594
|
+
"onUpdate": "no action"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
"compositePrimaryKeys": {},
|
|
1598
|
+
"uniqueConstraints": {},
|
|
1599
|
+
"checkConstraints": {}
|
|
1600
|
+
},
|
|
1601
|
+
"pending_interactions": {
|
|
1602
|
+
"name": "pending_interactions",
|
|
1603
|
+
"columns": {
|
|
1604
|
+
"id": {
|
|
1605
|
+
"name": "id",
|
|
1606
|
+
"type": "text",
|
|
1607
|
+
"primaryKey": true,
|
|
1608
|
+
"notNull": true,
|
|
1609
|
+
"autoincrement": false
|
|
1610
|
+
},
|
|
1611
|
+
"thread_id": {
|
|
1612
|
+
"name": "thread_id",
|
|
1613
|
+
"type": "text",
|
|
1614
|
+
"primaryKey": false,
|
|
1615
|
+
"notNull": true,
|
|
1616
|
+
"autoincrement": false
|
|
1617
|
+
},
|
|
1618
|
+
"turn_id": {
|
|
1619
|
+
"name": "turn_id",
|
|
1620
|
+
"type": "text",
|
|
1621
|
+
"primaryKey": false,
|
|
1622
|
+
"notNull": true,
|
|
1623
|
+
"autoincrement": false
|
|
1624
|
+
},
|
|
1625
|
+
"provider_id": {
|
|
1626
|
+
"name": "provider_id",
|
|
1627
|
+
"type": "text",
|
|
1628
|
+
"primaryKey": false,
|
|
1629
|
+
"notNull": true,
|
|
1630
|
+
"autoincrement": false
|
|
1631
|
+
},
|
|
1632
|
+
"provider_thread_id": {
|
|
1633
|
+
"name": "provider_thread_id",
|
|
1634
|
+
"type": "text",
|
|
1635
|
+
"primaryKey": false,
|
|
1636
|
+
"notNull": true,
|
|
1637
|
+
"autoincrement": false
|
|
1638
|
+
},
|
|
1639
|
+
"provider_request_id": {
|
|
1640
|
+
"name": "provider_request_id",
|
|
1641
|
+
"type": "text",
|
|
1642
|
+
"primaryKey": false,
|
|
1643
|
+
"notNull": true,
|
|
1644
|
+
"autoincrement": false
|
|
1645
|
+
},
|
|
1646
|
+
"session_id": {
|
|
1647
|
+
"name": "session_id",
|
|
1648
|
+
"type": "text",
|
|
1649
|
+
"primaryKey": false,
|
|
1650
|
+
"notNull": true,
|
|
1651
|
+
"autoincrement": false
|
|
1652
|
+
},
|
|
1653
|
+
"resolving_command_id": {
|
|
1654
|
+
"name": "resolving_command_id",
|
|
1655
|
+
"type": "text",
|
|
1656
|
+
"primaryKey": false,
|
|
1657
|
+
"notNull": false,
|
|
1658
|
+
"autoincrement": false
|
|
1659
|
+
},
|
|
1660
|
+
"status": {
|
|
1661
|
+
"name": "status",
|
|
1662
|
+
"type": "text",
|
|
1663
|
+
"primaryKey": false,
|
|
1664
|
+
"notNull": true,
|
|
1665
|
+
"autoincrement": false
|
|
1666
|
+
},
|
|
1667
|
+
"payload": {
|
|
1668
|
+
"name": "payload",
|
|
1669
|
+
"type": "text",
|
|
1670
|
+
"primaryKey": false,
|
|
1671
|
+
"notNull": true,
|
|
1672
|
+
"autoincrement": false
|
|
1673
|
+
},
|
|
1674
|
+
"resolution": {
|
|
1675
|
+
"name": "resolution",
|
|
1676
|
+
"type": "text",
|
|
1677
|
+
"primaryKey": false,
|
|
1678
|
+
"notNull": false,
|
|
1679
|
+
"autoincrement": false
|
|
1680
|
+
},
|
|
1681
|
+
"status_reason": {
|
|
1682
|
+
"name": "status_reason",
|
|
1683
|
+
"type": "text",
|
|
1684
|
+
"primaryKey": false,
|
|
1685
|
+
"notNull": false,
|
|
1686
|
+
"autoincrement": false
|
|
1687
|
+
},
|
|
1688
|
+
"created_at": {
|
|
1689
|
+
"name": "created_at",
|
|
1690
|
+
"type": "integer",
|
|
1691
|
+
"primaryKey": false,
|
|
1692
|
+
"notNull": true,
|
|
1693
|
+
"autoincrement": false
|
|
1694
|
+
},
|
|
1695
|
+
"resolved_at": {
|
|
1696
|
+
"name": "resolved_at",
|
|
1697
|
+
"type": "integer",
|
|
1698
|
+
"primaryKey": false,
|
|
1699
|
+
"notNull": false,
|
|
1700
|
+
"autoincrement": false
|
|
1701
|
+
},
|
|
1702
|
+
"updated_at": {
|
|
1703
|
+
"name": "updated_at",
|
|
1704
|
+
"type": "integer",
|
|
1705
|
+
"primaryKey": false,
|
|
1706
|
+
"notNull": true,
|
|
1707
|
+
"autoincrement": false
|
|
1708
|
+
}
|
|
1709
|
+
},
|
|
1710
|
+
"indexes": {
|
|
1711
|
+
"pending_interactions_provider_request_idx": {
|
|
1712
|
+
"name": "pending_interactions_provider_request_idx",
|
|
1713
|
+
"columns": [
|
|
1714
|
+
"session_id",
|
|
1715
|
+
"provider_id",
|
|
1716
|
+
"provider_thread_id",
|
|
1717
|
+
"provider_request_id"
|
|
1718
|
+
],
|
|
1719
|
+
"isUnique": true
|
|
1720
|
+
},
|
|
1721
|
+
"pending_interactions_thread_created_idx": {
|
|
1722
|
+
"name": "pending_interactions_thread_created_idx",
|
|
1723
|
+
"columns": [
|
|
1724
|
+
"thread_id",
|
|
1725
|
+
"created_at"
|
|
1726
|
+
],
|
|
1727
|
+
"isUnique": false
|
|
1728
|
+
},
|
|
1729
|
+
"pending_interactions_thread_status_created_idx": {
|
|
1730
|
+
"name": "pending_interactions_thread_status_created_idx",
|
|
1731
|
+
"columns": [
|
|
1732
|
+
"thread_id",
|
|
1733
|
+
"status",
|
|
1734
|
+
"created_at"
|
|
1735
|
+
],
|
|
1736
|
+
"isUnique": false
|
|
1737
|
+
},
|
|
1738
|
+
"pending_interactions_status_created_idx": {
|
|
1739
|
+
"name": "pending_interactions_status_created_idx",
|
|
1740
|
+
"columns": [
|
|
1741
|
+
"status",
|
|
1742
|
+
"created_at"
|
|
1743
|
+
],
|
|
1744
|
+
"isUnique": false
|
|
1745
|
+
},
|
|
1746
|
+
"pending_interactions_resolving_command_idx": {
|
|
1747
|
+
"name": "pending_interactions_resolving_command_idx",
|
|
1748
|
+
"columns": [
|
|
1749
|
+
"resolving_command_id"
|
|
1750
|
+
],
|
|
1751
|
+
"isUnique": false
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"foreignKeys": {
|
|
1755
|
+
"pending_interactions_thread_id_threads_id_fk": {
|
|
1756
|
+
"name": "pending_interactions_thread_id_threads_id_fk",
|
|
1757
|
+
"tableFrom": "pending_interactions",
|
|
1758
|
+
"tableTo": "threads",
|
|
1759
|
+
"columnsFrom": [
|
|
1760
|
+
"thread_id"
|
|
1761
|
+
],
|
|
1762
|
+
"columnsTo": [
|
|
1763
|
+
"id"
|
|
1764
|
+
],
|
|
1765
|
+
"onDelete": "cascade",
|
|
1766
|
+
"onUpdate": "no action"
|
|
1767
|
+
},
|
|
1768
|
+
"pending_interactions_resolving_command_id_host_daemon_commands_id_fk": {
|
|
1769
|
+
"name": "pending_interactions_resolving_command_id_host_daemon_commands_id_fk",
|
|
1770
|
+
"tableFrom": "pending_interactions",
|
|
1771
|
+
"tableTo": "host_daemon_commands",
|
|
1772
|
+
"columnsFrom": [
|
|
1773
|
+
"resolving_command_id"
|
|
1774
|
+
],
|
|
1775
|
+
"columnsTo": [
|
|
1776
|
+
"id"
|
|
1777
|
+
],
|
|
1778
|
+
"onDelete": "set null",
|
|
1779
|
+
"onUpdate": "no action"
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
"compositePrimaryKeys": {},
|
|
1783
|
+
"uniqueConstraints": {},
|
|
1784
|
+
"checkConstraints": {}
|
|
1785
|
+
},
|
|
1786
|
+
"project_execution_defaults": {
|
|
1787
|
+
"name": "project_execution_defaults",
|
|
1788
|
+
"columns": {
|
|
1789
|
+
"project_id": {
|
|
1790
|
+
"name": "project_id",
|
|
1791
|
+
"type": "text",
|
|
1792
|
+
"primaryKey": false,
|
|
1793
|
+
"notNull": true,
|
|
1794
|
+
"autoincrement": false
|
|
1795
|
+
},
|
|
1796
|
+
"provider_id": {
|
|
1797
|
+
"name": "provider_id",
|
|
1798
|
+
"type": "text",
|
|
1799
|
+
"primaryKey": false,
|
|
1800
|
+
"notNull": true,
|
|
1801
|
+
"autoincrement": false
|
|
1802
|
+
},
|
|
1803
|
+
"thread_type": {
|
|
1804
|
+
"name": "thread_type",
|
|
1805
|
+
"type": "text",
|
|
1806
|
+
"primaryKey": false,
|
|
1807
|
+
"notNull": true,
|
|
1808
|
+
"autoincrement": false
|
|
1809
|
+
},
|
|
1810
|
+
"model": {
|
|
1811
|
+
"name": "model",
|
|
1812
|
+
"type": "text",
|
|
1813
|
+
"primaryKey": false,
|
|
1814
|
+
"notNull": true,
|
|
1815
|
+
"autoincrement": false
|
|
1816
|
+
},
|
|
1817
|
+
"service_tier": {
|
|
1818
|
+
"name": "service_tier",
|
|
1819
|
+
"type": "text",
|
|
1820
|
+
"primaryKey": false,
|
|
1821
|
+
"notNull": true,
|
|
1822
|
+
"autoincrement": false
|
|
1823
|
+
},
|
|
1824
|
+
"reasoning_level": {
|
|
1825
|
+
"name": "reasoning_level",
|
|
1826
|
+
"type": "text",
|
|
1827
|
+
"primaryKey": false,
|
|
1828
|
+
"notNull": true,
|
|
1829
|
+
"autoincrement": false
|
|
1830
|
+
},
|
|
1831
|
+
"permission_mode": {
|
|
1832
|
+
"name": "permission_mode",
|
|
1833
|
+
"type": "text",
|
|
1834
|
+
"primaryKey": false,
|
|
1835
|
+
"notNull": true,
|
|
1836
|
+
"autoincrement": false
|
|
1837
|
+
},
|
|
1838
|
+
"updated_at": {
|
|
1839
|
+
"name": "updated_at",
|
|
1840
|
+
"type": "integer",
|
|
1841
|
+
"primaryKey": false,
|
|
1842
|
+
"notNull": true,
|
|
1843
|
+
"autoincrement": false
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
"indexes": {
|
|
1847
|
+
"project_execution_defaults_project_thread_type_idx": {
|
|
1848
|
+
"name": "project_execution_defaults_project_thread_type_idx",
|
|
1849
|
+
"columns": [
|
|
1850
|
+
"project_id",
|
|
1851
|
+
"thread_type"
|
|
1852
|
+
],
|
|
1853
|
+
"isUnique": true
|
|
1854
|
+
},
|
|
1855
|
+
"project_execution_defaults_project_idx": {
|
|
1856
|
+
"name": "project_execution_defaults_project_idx",
|
|
1857
|
+
"columns": [
|
|
1858
|
+
"project_id"
|
|
1859
|
+
],
|
|
1860
|
+
"isUnique": false
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"foreignKeys": {
|
|
1864
|
+
"project_execution_defaults_project_id_projects_id_fk": {
|
|
1865
|
+
"name": "project_execution_defaults_project_id_projects_id_fk",
|
|
1866
|
+
"tableFrom": "project_execution_defaults",
|
|
1867
|
+
"tableTo": "projects",
|
|
1868
|
+
"columnsFrom": [
|
|
1869
|
+
"project_id"
|
|
1870
|
+
],
|
|
1871
|
+
"columnsTo": [
|
|
1872
|
+
"id"
|
|
1873
|
+
],
|
|
1874
|
+
"onDelete": "cascade",
|
|
1875
|
+
"onUpdate": "no action"
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
"compositePrimaryKeys": {},
|
|
1879
|
+
"uniqueConstraints": {},
|
|
1880
|
+
"checkConstraints": {}
|
|
1881
|
+
},
|
|
1882
|
+
"project_operations": {
|
|
1883
|
+
"name": "project_operations",
|
|
1884
|
+
"columns": {
|
|
1885
|
+
"id": {
|
|
1886
|
+
"name": "id",
|
|
1887
|
+
"type": "text",
|
|
1888
|
+
"primaryKey": true,
|
|
1889
|
+
"notNull": true,
|
|
1890
|
+
"autoincrement": false
|
|
1891
|
+
},
|
|
1892
|
+
"project_id": {
|
|
1893
|
+
"name": "project_id",
|
|
1894
|
+
"type": "text",
|
|
1895
|
+
"primaryKey": false,
|
|
1896
|
+
"notNull": true,
|
|
1897
|
+
"autoincrement": false
|
|
1898
|
+
},
|
|
1899
|
+
"kind": {
|
|
1900
|
+
"name": "kind",
|
|
1901
|
+
"type": "text",
|
|
1902
|
+
"primaryKey": false,
|
|
1903
|
+
"notNull": true,
|
|
1904
|
+
"autoincrement": false
|
|
1905
|
+
},
|
|
1906
|
+
"state": {
|
|
1907
|
+
"name": "state",
|
|
1908
|
+
"type": "text",
|
|
1909
|
+
"primaryKey": false,
|
|
1910
|
+
"notNull": true,
|
|
1911
|
+
"autoincrement": false
|
|
1912
|
+
},
|
|
1913
|
+
"payload": {
|
|
1914
|
+
"name": "payload",
|
|
1915
|
+
"type": "text",
|
|
1916
|
+
"primaryKey": false,
|
|
1917
|
+
"notNull": true,
|
|
1918
|
+
"autoincrement": false
|
|
1919
|
+
},
|
|
1920
|
+
"command_id": {
|
|
1921
|
+
"name": "command_id",
|
|
1922
|
+
"type": "text",
|
|
1923
|
+
"primaryKey": false,
|
|
1924
|
+
"notNull": false,
|
|
1925
|
+
"autoincrement": false
|
|
1926
|
+
},
|
|
1927
|
+
"requested_at": {
|
|
1928
|
+
"name": "requested_at",
|
|
1929
|
+
"type": "integer",
|
|
1930
|
+
"primaryKey": false,
|
|
1931
|
+
"notNull": true,
|
|
1932
|
+
"autoincrement": false
|
|
1933
|
+
},
|
|
1934
|
+
"queued_at": {
|
|
1935
|
+
"name": "queued_at",
|
|
1936
|
+
"type": "integer",
|
|
1937
|
+
"primaryKey": false,
|
|
1938
|
+
"notNull": false,
|
|
1939
|
+
"autoincrement": false
|
|
1940
|
+
},
|
|
1941
|
+
"completed_at": {
|
|
1942
|
+
"name": "completed_at",
|
|
1943
|
+
"type": "integer",
|
|
1944
|
+
"primaryKey": false,
|
|
1945
|
+
"notNull": false,
|
|
1946
|
+
"autoincrement": false
|
|
1947
|
+
},
|
|
1948
|
+
"failure_reason": {
|
|
1949
|
+
"name": "failure_reason",
|
|
1950
|
+
"type": "text",
|
|
1951
|
+
"primaryKey": false,
|
|
1952
|
+
"notNull": false,
|
|
1953
|
+
"autoincrement": false
|
|
1954
|
+
},
|
|
1955
|
+
"created_at": {
|
|
1956
|
+
"name": "created_at",
|
|
1957
|
+
"type": "integer",
|
|
1958
|
+
"primaryKey": false,
|
|
1959
|
+
"notNull": true,
|
|
1960
|
+
"autoincrement": false
|
|
1961
|
+
},
|
|
1962
|
+
"updated_at": {
|
|
1963
|
+
"name": "updated_at",
|
|
1964
|
+
"type": "integer",
|
|
1965
|
+
"primaryKey": false,
|
|
1966
|
+
"notNull": true,
|
|
1967
|
+
"autoincrement": false
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
"indexes": {
|
|
1971
|
+
"project_operations_project_kind_idx": {
|
|
1972
|
+
"name": "project_operations_project_kind_idx",
|
|
1973
|
+
"columns": [
|
|
1974
|
+
"project_id",
|
|
1975
|
+
"kind"
|
|
1976
|
+
],
|
|
1977
|
+
"isUnique": true
|
|
1978
|
+
},
|
|
1979
|
+
"project_operations_command_idx": {
|
|
1980
|
+
"name": "project_operations_command_idx",
|
|
1981
|
+
"columns": [
|
|
1982
|
+
"command_id"
|
|
1983
|
+
],
|
|
1984
|
+
"isUnique": true
|
|
1985
|
+
},
|
|
1986
|
+
"project_operations_state_idx": {
|
|
1987
|
+
"name": "project_operations_state_idx",
|
|
1988
|
+
"columns": [
|
|
1989
|
+
"state"
|
|
1990
|
+
],
|
|
1991
|
+
"isUnique": false
|
|
1992
|
+
},
|
|
1993
|
+
"project_operations_project_idx": {
|
|
1994
|
+
"name": "project_operations_project_idx",
|
|
1995
|
+
"columns": [
|
|
1996
|
+
"project_id"
|
|
1997
|
+
],
|
|
1998
|
+
"isUnique": false
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
"foreignKeys": {
|
|
2002
|
+
"project_operations_project_id_projects_id_fk": {
|
|
2003
|
+
"name": "project_operations_project_id_projects_id_fk",
|
|
2004
|
+
"tableFrom": "project_operations",
|
|
2005
|
+
"tableTo": "projects",
|
|
2006
|
+
"columnsFrom": [
|
|
2007
|
+
"project_id"
|
|
2008
|
+
],
|
|
2009
|
+
"columnsTo": [
|
|
2010
|
+
"id"
|
|
2011
|
+
],
|
|
2012
|
+
"onDelete": "cascade",
|
|
2013
|
+
"onUpdate": "no action"
|
|
2014
|
+
},
|
|
2015
|
+
"project_operations_command_id_host_daemon_commands_id_fk": {
|
|
2016
|
+
"name": "project_operations_command_id_host_daemon_commands_id_fk",
|
|
2017
|
+
"tableFrom": "project_operations",
|
|
2018
|
+
"tableTo": "host_daemon_commands",
|
|
2019
|
+
"columnsFrom": [
|
|
2020
|
+
"command_id"
|
|
2021
|
+
],
|
|
2022
|
+
"columnsTo": [
|
|
2023
|
+
"id"
|
|
2024
|
+
],
|
|
2025
|
+
"onDelete": "set null",
|
|
2026
|
+
"onUpdate": "no action"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
"compositePrimaryKeys": {},
|
|
2030
|
+
"uniqueConstraints": {},
|
|
2031
|
+
"checkConstraints": {}
|
|
2032
|
+
},
|
|
2033
|
+
"project_sources": {
|
|
2034
|
+
"name": "project_sources",
|
|
2035
|
+
"columns": {
|
|
2036
|
+
"id": {
|
|
2037
|
+
"name": "id",
|
|
2038
|
+
"type": "text",
|
|
2039
|
+
"primaryKey": true,
|
|
2040
|
+
"notNull": true,
|
|
2041
|
+
"autoincrement": false
|
|
2042
|
+
},
|
|
2043
|
+
"project_id": {
|
|
2044
|
+
"name": "project_id",
|
|
2045
|
+
"type": "text",
|
|
2046
|
+
"primaryKey": false,
|
|
2047
|
+
"notNull": true,
|
|
2048
|
+
"autoincrement": false
|
|
2049
|
+
},
|
|
2050
|
+
"type": {
|
|
2051
|
+
"name": "type",
|
|
2052
|
+
"type": "text",
|
|
2053
|
+
"primaryKey": false,
|
|
2054
|
+
"notNull": true,
|
|
2055
|
+
"autoincrement": false
|
|
2056
|
+
},
|
|
2057
|
+
"host_id": {
|
|
2058
|
+
"name": "host_id",
|
|
2059
|
+
"type": "text",
|
|
2060
|
+
"primaryKey": false,
|
|
2061
|
+
"notNull": false,
|
|
2062
|
+
"autoincrement": false
|
|
2063
|
+
},
|
|
2064
|
+
"path": {
|
|
2065
|
+
"name": "path",
|
|
2066
|
+
"type": "text",
|
|
2067
|
+
"primaryKey": false,
|
|
2068
|
+
"notNull": false,
|
|
2069
|
+
"autoincrement": false
|
|
2070
|
+
},
|
|
2071
|
+
"is_default": {
|
|
2072
|
+
"name": "is_default",
|
|
2073
|
+
"type": "integer",
|
|
2074
|
+
"primaryKey": false,
|
|
2075
|
+
"notNull": true,
|
|
2076
|
+
"autoincrement": false,
|
|
2077
|
+
"default": false
|
|
2078
|
+
},
|
|
2079
|
+
"created_at": {
|
|
2080
|
+
"name": "created_at",
|
|
2081
|
+
"type": "integer",
|
|
2082
|
+
"primaryKey": false,
|
|
2083
|
+
"notNull": true,
|
|
2084
|
+
"autoincrement": false
|
|
2085
|
+
},
|
|
2086
|
+
"updated_at": {
|
|
2087
|
+
"name": "updated_at",
|
|
2088
|
+
"type": "integer",
|
|
2089
|
+
"primaryKey": false,
|
|
2090
|
+
"notNull": true,
|
|
2091
|
+
"autoincrement": false
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"indexes": {
|
|
2095
|
+
"project_sources_project_idx": {
|
|
2096
|
+
"name": "project_sources_project_idx",
|
|
2097
|
+
"columns": [
|
|
2098
|
+
"project_id"
|
|
2099
|
+
],
|
|
2100
|
+
"isUnique": false
|
|
2101
|
+
},
|
|
2102
|
+
"project_sources_host_idx": {
|
|
2103
|
+
"name": "project_sources_host_idx",
|
|
2104
|
+
"columns": [
|
|
2105
|
+
"host_id"
|
|
2106
|
+
],
|
|
2107
|
+
"isUnique": false
|
|
2108
|
+
},
|
|
2109
|
+
"project_sources_project_host_idx": {
|
|
2110
|
+
"name": "project_sources_project_host_idx",
|
|
2111
|
+
"columns": [
|
|
2112
|
+
"project_id",
|
|
2113
|
+
"host_id"
|
|
2114
|
+
],
|
|
2115
|
+
"isUnique": true
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
"foreignKeys": {
|
|
2119
|
+
"project_sources_project_id_projects_id_fk": {
|
|
2120
|
+
"name": "project_sources_project_id_projects_id_fk",
|
|
2121
|
+
"tableFrom": "project_sources",
|
|
2122
|
+
"tableTo": "projects",
|
|
2123
|
+
"columnsFrom": [
|
|
2124
|
+
"project_id"
|
|
2125
|
+
],
|
|
2126
|
+
"columnsTo": [
|
|
2127
|
+
"id"
|
|
2128
|
+
],
|
|
2129
|
+
"onDelete": "cascade",
|
|
2130
|
+
"onUpdate": "no action"
|
|
2131
|
+
},
|
|
2132
|
+
"project_sources_host_id_hosts_id_fk": {
|
|
2133
|
+
"name": "project_sources_host_id_hosts_id_fk",
|
|
2134
|
+
"tableFrom": "project_sources",
|
|
2135
|
+
"tableTo": "hosts",
|
|
2136
|
+
"columnsFrom": [
|
|
2137
|
+
"host_id"
|
|
2138
|
+
],
|
|
2139
|
+
"columnsTo": [
|
|
2140
|
+
"id"
|
|
2141
|
+
],
|
|
2142
|
+
"onDelete": "cascade",
|
|
2143
|
+
"onUpdate": "no action"
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
"compositePrimaryKeys": {},
|
|
2147
|
+
"uniqueConstraints": {},
|
|
2148
|
+
"checkConstraints": {
|
|
2149
|
+
"project_sources_shape_check": {
|
|
2150
|
+
"name": "project_sources_shape_check",
|
|
2151
|
+
"value": "(\n \"project_sources\".\"type\" = 'local_path' AND \"project_sources\".\"host_id\" IS NOT NULL AND \"project_sources\".\"path\" IS NOT NULL\n )"
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
"projects": {
|
|
2156
|
+
"name": "projects",
|
|
2157
|
+
"columns": {
|
|
2158
|
+
"id": {
|
|
2159
|
+
"name": "id",
|
|
2160
|
+
"type": "text",
|
|
2161
|
+
"primaryKey": true,
|
|
2162
|
+
"notNull": true,
|
|
2163
|
+
"autoincrement": false
|
|
2164
|
+
},
|
|
2165
|
+
"kind": {
|
|
2166
|
+
"name": "kind",
|
|
2167
|
+
"type": "text",
|
|
2168
|
+
"primaryKey": false,
|
|
2169
|
+
"notNull": true,
|
|
2170
|
+
"autoincrement": false,
|
|
2171
|
+
"default": "'standard'"
|
|
2172
|
+
},
|
|
2173
|
+
"name": {
|
|
2174
|
+
"name": "name",
|
|
2175
|
+
"type": "text",
|
|
2176
|
+
"primaryKey": false,
|
|
2177
|
+
"notNull": true,
|
|
2178
|
+
"autoincrement": false
|
|
2179
|
+
},
|
|
2180
|
+
"sort_key": {
|
|
2181
|
+
"name": "sort_key",
|
|
2182
|
+
"type": "text",
|
|
2183
|
+
"primaryKey": false,
|
|
2184
|
+
"notNull": true,
|
|
2185
|
+
"autoincrement": false,
|
|
2186
|
+
"default": "'V'"
|
|
2187
|
+
},
|
|
2188
|
+
"created_at": {
|
|
2189
|
+
"name": "created_at",
|
|
2190
|
+
"type": "integer",
|
|
2191
|
+
"primaryKey": false,
|
|
2192
|
+
"notNull": true,
|
|
2193
|
+
"autoincrement": false
|
|
2194
|
+
},
|
|
2195
|
+
"updated_at": {
|
|
2196
|
+
"name": "updated_at",
|
|
2197
|
+
"type": "integer",
|
|
2198
|
+
"primaryKey": false,
|
|
2199
|
+
"notNull": true,
|
|
2200
|
+
"autoincrement": false
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"indexes": {
|
|
2204
|
+
"projects_updated_idx": {
|
|
2205
|
+
"name": "projects_updated_idx",
|
|
2206
|
+
"columns": [
|
|
2207
|
+
"updated_at"
|
|
2208
|
+
],
|
|
2209
|
+
"isUnique": false
|
|
2210
|
+
},
|
|
2211
|
+
"projects_sort_idx": {
|
|
2212
|
+
"name": "projects_sort_idx",
|
|
2213
|
+
"columns": [
|
|
2214
|
+
"sort_key",
|
|
2215
|
+
"id"
|
|
2216
|
+
],
|
|
2217
|
+
"isUnique": false
|
|
2218
|
+
},
|
|
2219
|
+
"projects_personal_singleton_idx": {
|
|
2220
|
+
"name": "projects_personal_singleton_idx",
|
|
2221
|
+
"columns": [
|
|
2222
|
+
"kind"
|
|
2223
|
+
],
|
|
2224
|
+
"isUnique": true,
|
|
2225
|
+
"where": "\"projects\".\"kind\" = 'personal'"
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
"foreignKeys": {},
|
|
2229
|
+
"compositePrimaryKeys": {},
|
|
2230
|
+
"uniqueConstraints": {},
|
|
2231
|
+
"checkConstraints": {}
|
|
2232
|
+
},
|
|
2233
|
+
"prompt_history_entries": {
|
|
2234
|
+
"name": "prompt_history_entries",
|
|
2235
|
+
"columns": {
|
|
2236
|
+
"id": {
|
|
2237
|
+
"name": "id",
|
|
2238
|
+
"type": "text",
|
|
2239
|
+
"primaryKey": true,
|
|
2240
|
+
"notNull": true,
|
|
2241
|
+
"autoincrement": false
|
|
2242
|
+
},
|
|
2243
|
+
"project_id": {
|
|
2244
|
+
"name": "project_id",
|
|
2245
|
+
"type": "text",
|
|
2246
|
+
"primaryKey": false,
|
|
2247
|
+
"notNull": true,
|
|
2248
|
+
"autoincrement": false
|
|
2249
|
+
},
|
|
2250
|
+
"thread_id": {
|
|
2251
|
+
"name": "thread_id",
|
|
2252
|
+
"type": "text",
|
|
2253
|
+
"primaryKey": false,
|
|
2254
|
+
"notNull": true,
|
|
2255
|
+
"autoincrement": false
|
|
2256
|
+
},
|
|
2257
|
+
"scope": {
|
|
2258
|
+
"name": "scope",
|
|
2259
|
+
"type": "text",
|
|
2260
|
+
"primaryKey": false,
|
|
2261
|
+
"notNull": true,
|
|
2262
|
+
"autoincrement": false
|
|
2263
|
+
},
|
|
2264
|
+
"request_sequence": {
|
|
2265
|
+
"name": "request_sequence",
|
|
2266
|
+
"type": "integer",
|
|
2267
|
+
"primaryKey": false,
|
|
2268
|
+
"notNull": true,
|
|
2269
|
+
"autoincrement": false
|
|
2270
|
+
},
|
|
2271
|
+
"input": {
|
|
2272
|
+
"name": "input",
|
|
2273
|
+
"type": "text",
|
|
2274
|
+
"primaryKey": false,
|
|
2275
|
+
"notNull": true,
|
|
2276
|
+
"autoincrement": false
|
|
2277
|
+
},
|
|
2278
|
+
"created_at": {
|
|
2279
|
+
"name": "created_at",
|
|
2280
|
+
"type": "integer",
|
|
2281
|
+
"primaryKey": false,
|
|
2282
|
+
"notNull": true,
|
|
2283
|
+
"autoincrement": false
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"indexes": {
|
|
2287
|
+
"prompt_history_entries_thread_request_idx": {
|
|
2288
|
+
"name": "prompt_history_entries_thread_request_idx",
|
|
2289
|
+
"columns": [
|
|
2290
|
+
"thread_id",
|
|
2291
|
+
"request_sequence"
|
|
2292
|
+
],
|
|
2293
|
+
"isUnique": true
|
|
2294
|
+
},
|
|
2295
|
+
"prompt_history_entries_project_scope_created_idx": {
|
|
2296
|
+
"name": "prompt_history_entries_project_scope_created_idx",
|
|
2297
|
+
"columns": [
|
|
2298
|
+
"project_id",
|
|
2299
|
+
"scope",
|
|
2300
|
+
"created_at",
|
|
2301
|
+
"request_sequence",
|
|
2302
|
+
"id"
|
|
2303
|
+
],
|
|
2304
|
+
"isUnique": false
|
|
2305
|
+
},
|
|
2306
|
+
"prompt_history_entries_thread_scope_created_idx": {
|
|
2307
|
+
"name": "prompt_history_entries_thread_scope_created_idx",
|
|
2308
|
+
"columns": [
|
|
2309
|
+
"thread_id",
|
|
2310
|
+
"scope",
|
|
2311
|
+
"created_at",
|
|
2312
|
+
"request_sequence",
|
|
2313
|
+
"id"
|
|
2314
|
+
],
|
|
2315
|
+
"isUnique": false
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
"foreignKeys": {
|
|
2319
|
+
"prompt_history_entries_project_id_projects_id_fk": {
|
|
2320
|
+
"name": "prompt_history_entries_project_id_projects_id_fk",
|
|
2321
|
+
"tableFrom": "prompt_history_entries",
|
|
2322
|
+
"tableTo": "projects",
|
|
2323
|
+
"columnsFrom": [
|
|
2324
|
+
"project_id"
|
|
2325
|
+
],
|
|
2326
|
+
"columnsTo": [
|
|
2327
|
+
"id"
|
|
2328
|
+
],
|
|
2329
|
+
"onDelete": "cascade",
|
|
2330
|
+
"onUpdate": "no action"
|
|
2331
|
+
},
|
|
2332
|
+
"prompt_history_entries_thread_id_threads_id_fk": {
|
|
2333
|
+
"name": "prompt_history_entries_thread_id_threads_id_fk",
|
|
2334
|
+
"tableFrom": "prompt_history_entries",
|
|
2335
|
+
"tableTo": "threads",
|
|
2336
|
+
"columnsFrom": [
|
|
2337
|
+
"thread_id"
|
|
2338
|
+
],
|
|
2339
|
+
"columnsTo": [
|
|
2340
|
+
"id"
|
|
2341
|
+
],
|
|
2342
|
+
"onDelete": "cascade",
|
|
2343
|
+
"onUpdate": "no action"
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"compositePrimaryKeys": {},
|
|
2347
|
+
"uniqueConstraints": {},
|
|
2348
|
+
"checkConstraints": {}
|
|
2349
|
+
},
|
|
2350
|
+
"queued_thread_messages": {
|
|
2351
|
+
"name": "queued_thread_messages",
|
|
2352
|
+
"columns": {
|
|
2353
|
+
"id": {
|
|
2354
|
+
"name": "id",
|
|
2355
|
+
"type": "text",
|
|
2356
|
+
"primaryKey": true,
|
|
2357
|
+
"notNull": true,
|
|
2358
|
+
"autoincrement": false
|
|
2359
|
+
},
|
|
2360
|
+
"thread_id": {
|
|
2361
|
+
"name": "thread_id",
|
|
2362
|
+
"type": "text",
|
|
2363
|
+
"primaryKey": false,
|
|
2364
|
+
"notNull": true,
|
|
2365
|
+
"autoincrement": false
|
|
2366
|
+
},
|
|
2367
|
+
"content": {
|
|
2368
|
+
"name": "content",
|
|
2369
|
+
"type": "text",
|
|
2370
|
+
"primaryKey": false,
|
|
2371
|
+
"notNull": true,
|
|
2372
|
+
"autoincrement": false
|
|
2373
|
+
},
|
|
2374
|
+
"model": {
|
|
2375
|
+
"name": "model",
|
|
2376
|
+
"type": "text",
|
|
2377
|
+
"primaryKey": false,
|
|
2378
|
+
"notNull": true,
|
|
2379
|
+
"autoincrement": false
|
|
2380
|
+
},
|
|
2381
|
+
"reasoning_level": {
|
|
2382
|
+
"name": "reasoning_level",
|
|
2383
|
+
"type": "text",
|
|
2384
|
+
"primaryKey": false,
|
|
2385
|
+
"notNull": true,
|
|
2386
|
+
"autoincrement": false
|
|
2387
|
+
},
|
|
2388
|
+
"permission_mode": {
|
|
2389
|
+
"name": "permission_mode",
|
|
2390
|
+
"type": "text",
|
|
2391
|
+
"primaryKey": false,
|
|
2392
|
+
"notNull": true,
|
|
2393
|
+
"autoincrement": false
|
|
2394
|
+
},
|
|
2395
|
+
"service_tier": {
|
|
2396
|
+
"name": "service_tier",
|
|
2397
|
+
"type": "text",
|
|
2398
|
+
"primaryKey": false,
|
|
2399
|
+
"notNull": true,
|
|
2400
|
+
"autoincrement": false
|
|
2401
|
+
},
|
|
2402
|
+
"claimed_at": {
|
|
2403
|
+
"name": "claimed_at",
|
|
2404
|
+
"type": "integer",
|
|
2405
|
+
"primaryKey": false,
|
|
2406
|
+
"notNull": false,
|
|
2407
|
+
"autoincrement": false
|
|
2408
|
+
},
|
|
2409
|
+
"claim_token": {
|
|
2410
|
+
"name": "claim_token",
|
|
2411
|
+
"type": "text",
|
|
2412
|
+
"primaryKey": false,
|
|
2413
|
+
"notNull": false,
|
|
2414
|
+
"autoincrement": false
|
|
2415
|
+
},
|
|
2416
|
+
"sort_key": {
|
|
2417
|
+
"name": "sort_key",
|
|
2418
|
+
"type": "text",
|
|
2419
|
+
"primaryKey": false,
|
|
2420
|
+
"notNull": true,
|
|
2421
|
+
"autoincrement": false
|
|
2422
|
+
},
|
|
2423
|
+
"created_at": {
|
|
2424
|
+
"name": "created_at",
|
|
2425
|
+
"type": "integer",
|
|
2426
|
+
"primaryKey": false,
|
|
2427
|
+
"notNull": true,
|
|
2428
|
+
"autoincrement": false
|
|
2429
|
+
},
|
|
2430
|
+
"updated_at": {
|
|
2431
|
+
"name": "updated_at",
|
|
2432
|
+
"type": "integer",
|
|
2433
|
+
"primaryKey": false,
|
|
2434
|
+
"notNull": true,
|
|
2435
|
+
"autoincrement": false
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
"indexes": {
|
|
2439
|
+
"queued_thread_messages_thread_created_idx": {
|
|
2440
|
+
"name": "queued_thread_messages_thread_created_idx",
|
|
2441
|
+
"columns": [
|
|
2442
|
+
"thread_id",
|
|
2443
|
+
"created_at",
|
|
2444
|
+
"id"
|
|
2445
|
+
],
|
|
2446
|
+
"isUnique": false
|
|
2447
|
+
},
|
|
2448
|
+
"queued_thread_messages_thread_sort_idx": {
|
|
2449
|
+
"name": "queued_thread_messages_thread_sort_idx",
|
|
2450
|
+
"columns": [
|
|
2451
|
+
"thread_id",
|
|
2452
|
+
"sort_key",
|
|
2453
|
+
"id"
|
|
2454
|
+
],
|
|
2455
|
+
"isUnique": false
|
|
2456
|
+
}
|
|
2457
|
+
},
|
|
2458
|
+
"foreignKeys": {
|
|
2459
|
+
"queued_thread_messages_thread_id_threads_id_fk": {
|
|
2460
|
+
"name": "queued_thread_messages_thread_id_threads_id_fk",
|
|
2461
|
+
"tableFrom": "queued_thread_messages",
|
|
2462
|
+
"tableTo": "threads",
|
|
2463
|
+
"columnsFrom": [
|
|
2464
|
+
"thread_id"
|
|
2465
|
+
],
|
|
2466
|
+
"columnsTo": [
|
|
2467
|
+
"id"
|
|
2468
|
+
],
|
|
2469
|
+
"onDelete": "cascade",
|
|
2470
|
+
"onUpdate": "no action"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"compositePrimaryKeys": {},
|
|
2474
|
+
"uniqueConstraints": {},
|
|
2475
|
+
"checkConstraints": {}
|
|
2476
|
+
},
|
|
2477
|
+
"terminal_sessions": {
|
|
2478
|
+
"name": "terminal_sessions",
|
|
2479
|
+
"columns": {
|
|
2480
|
+
"id": {
|
|
2481
|
+
"name": "id",
|
|
2482
|
+
"type": "text",
|
|
2483
|
+
"primaryKey": true,
|
|
2484
|
+
"notNull": true,
|
|
2485
|
+
"autoincrement": false
|
|
2486
|
+
},
|
|
2487
|
+
"thread_id": {
|
|
2488
|
+
"name": "thread_id",
|
|
2489
|
+
"type": "text",
|
|
2490
|
+
"primaryKey": false,
|
|
2491
|
+
"notNull": true,
|
|
2492
|
+
"autoincrement": false
|
|
2493
|
+
},
|
|
2494
|
+
"environment_id": {
|
|
2495
|
+
"name": "environment_id",
|
|
2496
|
+
"type": "text",
|
|
2497
|
+
"primaryKey": false,
|
|
2498
|
+
"notNull": true,
|
|
2499
|
+
"autoincrement": false
|
|
2500
|
+
},
|
|
2501
|
+
"host_id": {
|
|
2502
|
+
"name": "host_id",
|
|
2503
|
+
"type": "text",
|
|
2504
|
+
"primaryKey": false,
|
|
2505
|
+
"notNull": true,
|
|
2506
|
+
"autoincrement": false
|
|
2507
|
+
},
|
|
2508
|
+
"daemon_session_id": {
|
|
2509
|
+
"name": "daemon_session_id",
|
|
2510
|
+
"type": "text",
|
|
2511
|
+
"primaryKey": false,
|
|
2512
|
+
"notNull": false,
|
|
2513
|
+
"autoincrement": false
|
|
2514
|
+
},
|
|
2515
|
+
"title": {
|
|
2516
|
+
"name": "title",
|
|
2517
|
+
"type": "text",
|
|
2518
|
+
"primaryKey": false,
|
|
2519
|
+
"notNull": true,
|
|
2520
|
+
"autoincrement": false
|
|
2521
|
+
},
|
|
2522
|
+
"initial_cwd": {
|
|
2523
|
+
"name": "initial_cwd",
|
|
2524
|
+
"type": "text",
|
|
2525
|
+
"primaryKey": false,
|
|
2526
|
+
"notNull": true,
|
|
2527
|
+
"autoincrement": false
|
|
2528
|
+
},
|
|
2529
|
+
"current_cwd": {
|
|
2530
|
+
"name": "current_cwd",
|
|
2531
|
+
"type": "text",
|
|
2532
|
+
"primaryKey": false,
|
|
2533
|
+
"notNull": false,
|
|
2534
|
+
"autoincrement": false
|
|
2535
|
+
},
|
|
2536
|
+
"cols": {
|
|
2537
|
+
"name": "cols",
|
|
2538
|
+
"type": "integer",
|
|
2539
|
+
"primaryKey": false,
|
|
2540
|
+
"notNull": true,
|
|
2541
|
+
"autoincrement": false
|
|
2542
|
+
},
|
|
2543
|
+
"rows": {
|
|
2544
|
+
"name": "rows",
|
|
2545
|
+
"type": "integer",
|
|
2546
|
+
"primaryKey": false,
|
|
2547
|
+
"notNull": true,
|
|
2548
|
+
"autoincrement": false
|
|
2549
|
+
},
|
|
2550
|
+
"status": {
|
|
2551
|
+
"name": "status",
|
|
2552
|
+
"type": "text",
|
|
2553
|
+
"primaryKey": false,
|
|
2554
|
+
"notNull": true,
|
|
2555
|
+
"autoincrement": false
|
|
2556
|
+
},
|
|
2557
|
+
"exit_code": {
|
|
2558
|
+
"name": "exit_code",
|
|
2559
|
+
"type": "integer",
|
|
2560
|
+
"primaryKey": false,
|
|
2561
|
+
"notNull": false,
|
|
2562
|
+
"autoincrement": false
|
|
2563
|
+
},
|
|
2564
|
+
"close_reason": {
|
|
2565
|
+
"name": "close_reason",
|
|
2566
|
+
"type": "text",
|
|
2567
|
+
"primaryKey": false,
|
|
2568
|
+
"notNull": false,
|
|
2569
|
+
"autoincrement": false
|
|
2570
|
+
},
|
|
2571
|
+
"created_at": {
|
|
2572
|
+
"name": "created_at",
|
|
2573
|
+
"type": "integer",
|
|
2574
|
+
"primaryKey": false,
|
|
2575
|
+
"notNull": true,
|
|
2576
|
+
"autoincrement": false
|
|
2577
|
+
},
|
|
2578
|
+
"updated_at": {
|
|
2579
|
+
"name": "updated_at",
|
|
2580
|
+
"type": "integer",
|
|
2581
|
+
"primaryKey": false,
|
|
2582
|
+
"notNull": true,
|
|
2583
|
+
"autoincrement": false
|
|
2584
|
+
},
|
|
2585
|
+
"last_user_input_at": {
|
|
2586
|
+
"name": "last_user_input_at",
|
|
2587
|
+
"type": "integer",
|
|
2588
|
+
"primaryKey": false,
|
|
2589
|
+
"notNull": false,
|
|
2590
|
+
"autoincrement": false
|
|
2591
|
+
},
|
|
2592
|
+
"last_connected_at": {
|
|
2593
|
+
"name": "last_connected_at",
|
|
2594
|
+
"type": "integer",
|
|
2595
|
+
"primaryKey": false,
|
|
2596
|
+
"notNull": false,
|
|
2597
|
+
"autoincrement": false
|
|
2598
|
+
},
|
|
2599
|
+
"exited_at": {
|
|
2600
|
+
"name": "exited_at",
|
|
2601
|
+
"type": "integer",
|
|
2602
|
+
"primaryKey": false,
|
|
2603
|
+
"notNull": false,
|
|
2604
|
+
"autoincrement": false
|
|
2605
|
+
}
|
|
2606
|
+
},
|
|
2607
|
+
"indexes": {
|
|
2608
|
+
"terminal_sessions_thread_status_updated_idx": {
|
|
2609
|
+
"name": "terminal_sessions_thread_status_updated_idx",
|
|
2610
|
+
"columns": [
|
|
2611
|
+
"thread_id",
|
|
2612
|
+
"status",
|
|
2613
|
+
"updated_at"
|
|
2614
|
+
],
|
|
2615
|
+
"isUnique": false
|
|
2616
|
+
},
|
|
2617
|
+
"terminal_sessions_environment_status_idx": {
|
|
2618
|
+
"name": "terminal_sessions_environment_status_idx",
|
|
2619
|
+
"columns": [
|
|
2620
|
+
"environment_id",
|
|
2621
|
+
"status"
|
|
2622
|
+
],
|
|
2623
|
+
"isUnique": false
|
|
2624
|
+
},
|
|
2625
|
+
"terminal_sessions_host_status_idx": {
|
|
2626
|
+
"name": "terminal_sessions_host_status_idx",
|
|
2627
|
+
"columns": [
|
|
2628
|
+
"host_id",
|
|
2629
|
+
"status"
|
|
2630
|
+
],
|
|
2631
|
+
"isUnique": false
|
|
2632
|
+
},
|
|
2633
|
+
"terminal_sessions_daemon_session_idx": {
|
|
2634
|
+
"name": "terminal_sessions_daemon_session_idx",
|
|
2635
|
+
"columns": [
|
|
2636
|
+
"daemon_session_id"
|
|
2637
|
+
],
|
|
2638
|
+
"isUnique": false
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
"foreignKeys": {
|
|
2642
|
+
"terminal_sessions_thread_id_threads_id_fk": {
|
|
2643
|
+
"name": "terminal_sessions_thread_id_threads_id_fk",
|
|
2644
|
+
"tableFrom": "terminal_sessions",
|
|
2645
|
+
"tableTo": "threads",
|
|
2646
|
+
"columnsFrom": [
|
|
2647
|
+
"thread_id"
|
|
2648
|
+
],
|
|
2649
|
+
"columnsTo": [
|
|
2650
|
+
"id"
|
|
2651
|
+
],
|
|
2652
|
+
"onDelete": "cascade",
|
|
2653
|
+
"onUpdate": "no action"
|
|
2654
|
+
},
|
|
2655
|
+
"terminal_sessions_environment_id_environments_id_fk": {
|
|
2656
|
+
"name": "terminal_sessions_environment_id_environments_id_fk",
|
|
2657
|
+
"tableFrom": "terminal_sessions",
|
|
2658
|
+
"tableTo": "environments",
|
|
2659
|
+
"columnsFrom": [
|
|
2660
|
+
"environment_id"
|
|
2661
|
+
],
|
|
2662
|
+
"columnsTo": [
|
|
2663
|
+
"id"
|
|
2664
|
+
],
|
|
2665
|
+
"onDelete": "cascade",
|
|
2666
|
+
"onUpdate": "no action"
|
|
2667
|
+
},
|
|
2668
|
+
"terminal_sessions_host_id_hosts_id_fk": {
|
|
2669
|
+
"name": "terminal_sessions_host_id_hosts_id_fk",
|
|
2670
|
+
"tableFrom": "terminal_sessions",
|
|
2671
|
+
"tableTo": "hosts",
|
|
2672
|
+
"columnsFrom": [
|
|
2673
|
+
"host_id"
|
|
2674
|
+
],
|
|
2675
|
+
"columnsTo": [
|
|
2676
|
+
"id"
|
|
2677
|
+
],
|
|
2678
|
+
"onDelete": "cascade",
|
|
2679
|
+
"onUpdate": "no action"
|
|
2680
|
+
},
|
|
2681
|
+
"terminal_sessions_daemon_session_id_host_daemon_sessions_id_fk": {
|
|
2682
|
+
"name": "terminal_sessions_daemon_session_id_host_daemon_sessions_id_fk",
|
|
2683
|
+
"tableFrom": "terminal_sessions",
|
|
2684
|
+
"tableTo": "host_daemon_sessions",
|
|
2685
|
+
"columnsFrom": [
|
|
2686
|
+
"daemon_session_id"
|
|
2687
|
+
],
|
|
2688
|
+
"columnsTo": [
|
|
2689
|
+
"id"
|
|
2690
|
+
],
|
|
2691
|
+
"onDelete": "set null",
|
|
2692
|
+
"onUpdate": "no action"
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"compositePrimaryKeys": {},
|
|
2696
|
+
"uniqueConstraints": {},
|
|
2697
|
+
"checkConstraints": {}
|
|
2698
|
+
},
|
|
2699
|
+
"thread_dynamic_context_file_states": {
|
|
2700
|
+
"name": "thread_dynamic_context_file_states",
|
|
2701
|
+
"columns": {
|
|
2702
|
+
"thread_id": {
|
|
2703
|
+
"name": "thread_id",
|
|
2704
|
+
"type": "text",
|
|
2705
|
+
"primaryKey": false,
|
|
2706
|
+
"notNull": true,
|
|
2707
|
+
"autoincrement": false
|
|
2708
|
+
},
|
|
2709
|
+
"file_key": {
|
|
2710
|
+
"name": "file_key",
|
|
2711
|
+
"type": "text",
|
|
2712
|
+
"primaryKey": false,
|
|
2713
|
+
"notNull": true,
|
|
2714
|
+
"autoincrement": false
|
|
2715
|
+
},
|
|
2716
|
+
"content_status": {
|
|
2717
|
+
"name": "content_status",
|
|
2718
|
+
"type": "text",
|
|
2719
|
+
"primaryKey": false,
|
|
2720
|
+
"notNull": true,
|
|
2721
|
+
"autoincrement": false
|
|
2722
|
+
},
|
|
2723
|
+
"content_hash": {
|
|
2724
|
+
"name": "content_hash",
|
|
2725
|
+
"type": "text",
|
|
2726
|
+
"primaryKey": false,
|
|
2727
|
+
"notNull": true,
|
|
2728
|
+
"autoincrement": false
|
|
2729
|
+
},
|
|
2730
|
+
"shown_at": {
|
|
2731
|
+
"name": "shown_at",
|
|
2732
|
+
"type": "integer",
|
|
2733
|
+
"primaryKey": false,
|
|
2734
|
+
"notNull": true,
|
|
2735
|
+
"autoincrement": false
|
|
2736
|
+
},
|
|
2737
|
+
"created_at": {
|
|
2738
|
+
"name": "created_at",
|
|
2739
|
+
"type": "integer",
|
|
2740
|
+
"primaryKey": false,
|
|
2741
|
+
"notNull": true,
|
|
2742
|
+
"autoincrement": false
|
|
2743
|
+
},
|
|
2744
|
+
"updated_at": {
|
|
2745
|
+
"name": "updated_at",
|
|
2746
|
+
"type": "integer",
|
|
2747
|
+
"primaryKey": false,
|
|
2748
|
+
"notNull": true,
|
|
2749
|
+
"autoincrement": false
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
"indexes": {
|
|
2753
|
+
"thread_dynamic_context_file_states_thread_file_idx": {
|
|
2754
|
+
"name": "thread_dynamic_context_file_states_thread_file_idx",
|
|
2755
|
+
"columns": [
|
|
2756
|
+
"thread_id",
|
|
2757
|
+
"file_key"
|
|
2758
|
+
],
|
|
2759
|
+
"isUnique": true
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"foreignKeys": {
|
|
2763
|
+
"thread_dynamic_context_file_states_thread_id_threads_id_fk": {
|
|
2764
|
+
"name": "thread_dynamic_context_file_states_thread_id_threads_id_fk",
|
|
2765
|
+
"tableFrom": "thread_dynamic_context_file_states",
|
|
2766
|
+
"tableTo": "threads",
|
|
2767
|
+
"columnsFrom": [
|
|
2768
|
+
"thread_id"
|
|
2769
|
+
],
|
|
2770
|
+
"columnsTo": [
|
|
2771
|
+
"id"
|
|
2772
|
+
],
|
|
2773
|
+
"onDelete": "cascade",
|
|
2774
|
+
"onUpdate": "no action"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"compositePrimaryKeys": {},
|
|
2778
|
+
"uniqueConstraints": {},
|
|
2779
|
+
"checkConstraints": {}
|
|
2780
|
+
},
|
|
2781
|
+
"thread_operations": {
|
|
2782
|
+
"name": "thread_operations",
|
|
2783
|
+
"columns": {
|
|
2784
|
+
"id": {
|
|
2785
|
+
"name": "id",
|
|
2786
|
+
"type": "text",
|
|
2787
|
+
"primaryKey": true,
|
|
2788
|
+
"notNull": true,
|
|
2789
|
+
"autoincrement": false
|
|
2790
|
+
},
|
|
2791
|
+
"thread_id": {
|
|
2792
|
+
"name": "thread_id",
|
|
2793
|
+
"type": "text",
|
|
2794
|
+
"primaryKey": false,
|
|
2795
|
+
"notNull": true,
|
|
2796
|
+
"autoincrement": false
|
|
2797
|
+
},
|
|
2798
|
+
"kind": {
|
|
2799
|
+
"name": "kind",
|
|
2800
|
+
"type": "text",
|
|
2801
|
+
"primaryKey": false,
|
|
2802
|
+
"notNull": true,
|
|
2803
|
+
"autoincrement": false
|
|
2804
|
+
},
|
|
2805
|
+
"state": {
|
|
2806
|
+
"name": "state",
|
|
2807
|
+
"type": "text",
|
|
2808
|
+
"primaryKey": false,
|
|
2809
|
+
"notNull": true,
|
|
2810
|
+
"autoincrement": false
|
|
2811
|
+
},
|
|
2812
|
+
"payload": {
|
|
2813
|
+
"name": "payload",
|
|
2814
|
+
"type": "text",
|
|
2815
|
+
"primaryKey": false,
|
|
2816
|
+
"notNull": true,
|
|
2817
|
+
"autoincrement": false
|
|
2818
|
+
},
|
|
2819
|
+
"provisioning_id": {
|
|
2820
|
+
"name": "provisioning_id",
|
|
2821
|
+
"type": "text",
|
|
2822
|
+
"primaryKey": false,
|
|
2823
|
+
"notNull": false,
|
|
2824
|
+
"autoincrement": false
|
|
2825
|
+
},
|
|
2826
|
+
"provisioning_stage": {
|
|
2827
|
+
"name": "provisioning_stage",
|
|
2828
|
+
"type": "text",
|
|
2829
|
+
"primaryKey": false,
|
|
2830
|
+
"notNull": false,
|
|
2831
|
+
"autoincrement": false
|
|
2832
|
+
},
|
|
2833
|
+
"provisioning_environment_id": {
|
|
2834
|
+
"name": "provisioning_environment_id",
|
|
2835
|
+
"type": "text",
|
|
2836
|
+
"primaryKey": false,
|
|
2837
|
+
"notNull": false,
|
|
2838
|
+
"autoincrement": false
|
|
2839
|
+
},
|
|
2840
|
+
"provision_event_sequence": {
|
|
2841
|
+
"name": "provision_event_sequence",
|
|
2842
|
+
"type": "integer",
|
|
2843
|
+
"primaryKey": false,
|
|
2844
|
+
"notNull": false,
|
|
2845
|
+
"autoincrement": false
|
|
2846
|
+
},
|
|
2847
|
+
"workspace_ready_event_sequence": {
|
|
2848
|
+
"name": "workspace_ready_event_sequence",
|
|
2849
|
+
"type": "integer",
|
|
2850
|
+
"primaryKey": false,
|
|
2851
|
+
"notNull": false,
|
|
2852
|
+
"autoincrement": false
|
|
2853
|
+
},
|
|
2854
|
+
"command_id": {
|
|
2855
|
+
"name": "command_id",
|
|
2856
|
+
"type": "text",
|
|
2857
|
+
"primaryKey": false,
|
|
2858
|
+
"notNull": false,
|
|
2859
|
+
"autoincrement": false
|
|
2860
|
+
},
|
|
2861
|
+
"requested_at": {
|
|
2862
|
+
"name": "requested_at",
|
|
2863
|
+
"type": "integer",
|
|
2864
|
+
"primaryKey": false,
|
|
2865
|
+
"notNull": true,
|
|
2866
|
+
"autoincrement": false
|
|
2867
|
+
},
|
|
2868
|
+
"queued_at": {
|
|
2869
|
+
"name": "queued_at",
|
|
2870
|
+
"type": "integer",
|
|
2871
|
+
"primaryKey": false,
|
|
2872
|
+
"notNull": false,
|
|
2873
|
+
"autoincrement": false
|
|
2874
|
+
},
|
|
2875
|
+
"completed_at": {
|
|
2876
|
+
"name": "completed_at",
|
|
2877
|
+
"type": "integer",
|
|
2878
|
+
"primaryKey": false,
|
|
2879
|
+
"notNull": false,
|
|
2880
|
+
"autoincrement": false
|
|
2881
|
+
},
|
|
2882
|
+
"failure_reason": {
|
|
2883
|
+
"name": "failure_reason",
|
|
2884
|
+
"type": "text",
|
|
2885
|
+
"primaryKey": false,
|
|
2886
|
+
"notNull": false,
|
|
2887
|
+
"autoincrement": false
|
|
2888
|
+
},
|
|
2889
|
+
"created_at": {
|
|
2890
|
+
"name": "created_at",
|
|
2891
|
+
"type": "integer",
|
|
2892
|
+
"primaryKey": false,
|
|
2893
|
+
"notNull": true,
|
|
2894
|
+
"autoincrement": false
|
|
2895
|
+
},
|
|
2896
|
+
"updated_at": {
|
|
2897
|
+
"name": "updated_at",
|
|
2898
|
+
"type": "integer",
|
|
2899
|
+
"primaryKey": false,
|
|
2900
|
+
"notNull": true,
|
|
2901
|
+
"autoincrement": false
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
"indexes": {
|
|
2905
|
+
"thread_operations_thread_kind_idx": {
|
|
2906
|
+
"name": "thread_operations_thread_kind_idx",
|
|
2907
|
+
"columns": [
|
|
2908
|
+
"thread_id",
|
|
2909
|
+
"kind"
|
|
2910
|
+
],
|
|
2911
|
+
"isUnique": true
|
|
2912
|
+
},
|
|
2913
|
+
"thread_operations_command_idx": {
|
|
2914
|
+
"name": "thread_operations_command_idx",
|
|
2915
|
+
"columns": [
|
|
2916
|
+
"command_id"
|
|
2917
|
+
],
|
|
2918
|
+
"isUnique": true
|
|
2919
|
+
},
|
|
2920
|
+
"thread_operations_state_idx": {
|
|
2921
|
+
"name": "thread_operations_state_idx",
|
|
2922
|
+
"columns": [
|
|
2923
|
+
"state"
|
|
2924
|
+
],
|
|
2925
|
+
"isUnique": false
|
|
2926
|
+
},
|
|
2927
|
+
"thread_operations_thread_idx": {
|
|
2928
|
+
"name": "thread_operations_thread_idx",
|
|
2929
|
+
"columns": [
|
|
2930
|
+
"thread_id"
|
|
2931
|
+
],
|
|
2932
|
+
"isUnique": false
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
"foreignKeys": {
|
|
2936
|
+
"thread_operations_thread_id_threads_id_fk": {
|
|
2937
|
+
"name": "thread_operations_thread_id_threads_id_fk",
|
|
2938
|
+
"tableFrom": "thread_operations",
|
|
2939
|
+
"tableTo": "threads",
|
|
2940
|
+
"columnsFrom": [
|
|
2941
|
+
"thread_id"
|
|
2942
|
+
],
|
|
2943
|
+
"columnsTo": [
|
|
2944
|
+
"id"
|
|
2945
|
+
],
|
|
2946
|
+
"onDelete": "cascade",
|
|
2947
|
+
"onUpdate": "no action"
|
|
2948
|
+
},
|
|
2949
|
+
"thread_operations_provisioning_environment_id_environments_id_fk": {
|
|
2950
|
+
"name": "thread_operations_provisioning_environment_id_environments_id_fk",
|
|
2951
|
+
"tableFrom": "thread_operations",
|
|
2952
|
+
"tableTo": "environments",
|
|
2953
|
+
"columnsFrom": [
|
|
2954
|
+
"provisioning_environment_id"
|
|
2955
|
+
],
|
|
2956
|
+
"columnsTo": [
|
|
2957
|
+
"id"
|
|
2958
|
+
],
|
|
2959
|
+
"onDelete": "set null",
|
|
2960
|
+
"onUpdate": "no action"
|
|
2961
|
+
},
|
|
2962
|
+
"thread_operations_command_id_host_daemon_commands_id_fk": {
|
|
2963
|
+
"name": "thread_operations_command_id_host_daemon_commands_id_fk",
|
|
2964
|
+
"tableFrom": "thread_operations",
|
|
2965
|
+
"tableTo": "host_daemon_commands",
|
|
2966
|
+
"columnsFrom": [
|
|
2967
|
+
"command_id"
|
|
2968
|
+
],
|
|
2969
|
+
"columnsTo": [
|
|
2970
|
+
"id"
|
|
2971
|
+
],
|
|
2972
|
+
"onDelete": "set null",
|
|
2973
|
+
"onUpdate": "no action"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
"compositePrimaryKeys": {},
|
|
2977
|
+
"uniqueConstraints": {},
|
|
2978
|
+
"checkConstraints": {}
|
|
2979
|
+
},
|
|
2980
|
+
"threads": {
|
|
2981
|
+
"name": "threads",
|
|
2982
|
+
"columns": {
|
|
2983
|
+
"id": {
|
|
2984
|
+
"name": "id",
|
|
2985
|
+
"type": "text",
|
|
2986
|
+
"primaryKey": true,
|
|
2987
|
+
"notNull": true,
|
|
2988
|
+
"autoincrement": false
|
|
2989
|
+
},
|
|
2990
|
+
"project_id": {
|
|
2991
|
+
"name": "project_id",
|
|
2992
|
+
"type": "text",
|
|
2993
|
+
"primaryKey": false,
|
|
2994
|
+
"notNull": true,
|
|
2995
|
+
"autoincrement": false
|
|
2996
|
+
},
|
|
2997
|
+
"environment_id": {
|
|
2998
|
+
"name": "environment_id",
|
|
2999
|
+
"type": "text",
|
|
3000
|
+
"primaryKey": false,
|
|
3001
|
+
"notNull": false,
|
|
3002
|
+
"autoincrement": false
|
|
3003
|
+
},
|
|
3004
|
+
"automation_id": {
|
|
3005
|
+
"name": "automation_id",
|
|
3006
|
+
"type": "text",
|
|
3007
|
+
"primaryKey": false,
|
|
3008
|
+
"notNull": false,
|
|
3009
|
+
"autoincrement": false
|
|
3010
|
+
},
|
|
3011
|
+
"provider_id": {
|
|
3012
|
+
"name": "provider_id",
|
|
3013
|
+
"type": "text",
|
|
3014
|
+
"primaryKey": false,
|
|
3015
|
+
"notNull": true,
|
|
3016
|
+
"autoincrement": false
|
|
3017
|
+
},
|
|
3018
|
+
"type": {
|
|
3019
|
+
"name": "type",
|
|
3020
|
+
"type": "text",
|
|
3021
|
+
"primaryKey": false,
|
|
3022
|
+
"notNull": true,
|
|
3023
|
+
"autoincrement": false,
|
|
3024
|
+
"default": "'standard'"
|
|
3025
|
+
},
|
|
3026
|
+
"sort_key": {
|
|
3027
|
+
"name": "sort_key",
|
|
3028
|
+
"type": "text",
|
|
3029
|
+
"primaryKey": false,
|
|
3030
|
+
"notNull": false,
|
|
3031
|
+
"autoincrement": false
|
|
3032
|
+
},
|
|
3033
|
+
"title": {
|
|
3034
|
+
"name": "title",
|
|
3035
|
+
"type": "text",
|
|
3036
|
+
"primaryKey": false,
|
|
3037
|
+
"notNull": false,
|
|
3038
|
+
"autoincrement": false
|
|
3039
|
+
},
|
|
3040
|
+
"title_fallback": {
|
|
3041
|
+
"name": "title_fallback",
|
|
3042
|
+
"type": "text",
|
|
3043
|
+
"primaryKey": false,
|
|
3044
|
+
"notNull": false,
|
|
3045
|
+
"autoincrement": false
|
|
3046
|
+
},
|
|
3047
|
+
"status": {
|
|
3048
|
+
"name": "status",
|
|
3049
|
+
"type": "text",
|
|
3050
|
+
"primaryKey": false,
|
|
3051
|
+
"notNull": true,
|
|
3052
|
+
"autoincrement": false,
|
|
3053
|
+
"default": "'created'"
|
|
3054
|
+
},
|
|
3055
|
+
"parent_thread_id": {
|
|
3056
|
+
"name": "parent_thread_id",
|
|
3057
|
+
"type": "text",
|
|
3058
|
+
"primaryKey": false,
|
|
3059
|
+
"notNull": false,
|
|
3060
|
+
"autoincrement": false
|
|
3061
|
+
},
|
|
3062
|
+
"archived_at": {
|
|
3063
|
+
"name": "archived_at",
|
|
3064
|
+
"type": "integer",
|
|
3065
|
+
"primaryKey": false,
|
|
3066
|
+
"notNull": false,
|
|
3067
|
+
"autoincrement": false
|
|
3068
|
+
},
|
|
3069
|
+
"stop_requested_at": {
|
|
3070
|
+
"name": "stop_requested_at",
|
|
3071
|
+
"type": "integer",
|
|
3072
|
+
"primaryKey": false,
|
|
3073
|
+
"notNull": false,
|
|
3074
|
+
"autoincrement": false
|
|
3075
|
+
},
|
|
3076
|
+
"deleted_at": {
|
|
3077
|
+
"name": "deleted_at",
|
|
3078
|
+
"type": "integer",
|
|
3079
|
+
"primaryKey": false,
|
|
3080
|
+
"notNull": false,
|
|
3081
|
+
"autoincrement": false
|
|
3082
|
+
},
|
|
3083
|
+
"last_read_at": {
|
|
3084
|
+
"name": "last_read_at",
|
|
3085
|
+
"type": "integer",
|
|
3086
|
+
"primaryKey": false,
|
|
3087
|
+
"notNull": false,
|
|
3088
|
+
"autoincrement": false
|
|
3089
|
+
},
|
|
3090
|
+
"latest_attention_at": {
|
|
3091
|
+
"name": "latest_attention_at",
|
|
3092
|
+
"type": "integer",
|
|
3093
|
+
"primaryKey": false,
|
|
3094
|
+
"notNull": true,
|
|
3095
|
+
"autoincrement": false
|
|
3096
|
+
},
|
|
3097
|
+
"created_at": {
|
|
3098
|
+
"name": "created_at",
|
|
3099
|
+
"type": "integer",
|
|
3100
|
+
"primaryKey": false,
|
|
3101
|
+
"notNull": true,
|
|
3102
|
+
"autoincrement": false
|
|
3103
|
+
},
|
|
3104
|
+
"updated_at": {
|
|
3105
|
+
"name": "updated_at",
|
|
3106
|
+
"type": "integer",
|
|
3107
|
+
"primaryKey": false,
|
|
3108
|
+
"notNull": true,
|
|
3109
|
+
"autoincrement": false
|
|
3110
|
+
}
|
|
3111
|
+
},
|
|
3112
|
+
"indexes": {
|
|
3113
|
+
"threads_project_updated_idx": {
|
|
3114
|
+
"name": "threads_project_updated_idx",
|
|
3115
|
+
"columns": [
|
|
3116
|
+
"project_id",
|
|
3117
|
+
"updated_at"
|
|
3118
|
+
],
|
|
3119
|
+
"isUnique": false
|
|
3120
|
+
},
|
|
3121
|
+
"threads_project_archived_deleted_idx": {
|
|
3122
|
+
"name": "threads_project_archived_deleted_idx",
|
|
3123
|
+
"columns": [
|
|
3124
|
+
"project_id",
|
|
3125
|
+
"archived_at",
|
|
3126
|
+
"deleted_at",
|
|
3127
|
+
"id"
|
|
3128
|
+
],
|
|
3129
|
+
"isUnique": false
|
|
3130
|
+
},
|
|
3131
|
+
"threads_project_type_sort_idx": {
|
|
3132
|
+
"name": "threads_project_type_sort_idx",
|
|
3133
|
+
"columns": [
|
|
3134
|
+
"project_id",
|
|
3135
|
+
"type",
|
|
3136
|
+
"sort_key",
|
|
3137
|
+
"id"
|
|
3138
|
+
],
|
|
3139
|
+
"isUnique": false
|
|
3140
|
+
},
|
|
3141
|
+
"threads_environment_idx": {
|
|
3142
|
+
"name": "threads_environment_idx",
|
|
3143
|
+
"columns": [
|
|
3144
|
+
"environment_id"
|
|
3145
|
+
],
|
|
3146
|
+
"isUnique": false
|
|
3147
|
+
},
|
|
3148
|
+
"threads_automation_runtime_idx": {
|
|
3149
|
+
"name": "threads_automation_runtime_idx",
|
|
3150
|
+
"columns": [
|
|
3151
|
+
"automation_id",
|
|
3152
|
+
"archived_at",
|
|
3153
|
+
"deleted_at",
|
|
3154
|
+
"status"
|
|
3155
|
+
],
|
|
3156
|
+
"isUnique": false
|
|
3157
|
+
},
|
|
3158
|
+
"threads_parent_idx": {
|
|
3159
|
+
"name": "threads_parent_idx",
|
|
3160
|
+
"columns": [
|
|
3161
|
+
"parent_thread_id"
|
|
3162
|
+
],
|
|
3163
|
+
"isUnique": false
|
|
3164
|
+
},
|
|
3165
|
+
"threads_archived_status_idx": {
|
|
3166
|
+
"name": "threads_archived_status_idx",
|
|
3167
|
+
"columns": [
|
|
3168
|
+
"archived_at",
|
|
3169
|
+
"status"
|
|
3170
|
+
],
|
|
3171
|
+
"isUnique": false
|
|
3172
|
+
},
|
|
3173
|
+
"threads_environment_archived_deleted_idx": {
|
|
3174
|
+
"name": "threads_environment_archived_deleted_idx",
|
|
3175
|
+
"columns": [
|
|
3176
|
+
"environment_id",
|
|
3177
|
+
"archived_at",
|
|
3178
|
+
"deleted_at"
|
|
3179
|
+
],
|
|
3180
|
+
"isUnique": false
|
|
3181
|
+
},
|
|
3182
|
+
"threads_active_maintenance_idx": {
|
|
3183
|
+
"name": "threads_active_maintenance_idx",
|
|
3184
|
+
"columns": [
|
|
3185
|
+
"status"
|
|
3186
|
+
],
|
|
3187
|
+
"isUnique": false,
|
|
3188
|
+
"where": "\"threads\".\"deleted_at\" IS NULL"
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
"foreignKeys": {
|
|
3192
|
+
"threads_project_id_projects_id_fk": {
|
|
3193
|
+
"name": "threads_project_id_projects_id_fk",
|
|
3194
|
+
"tableFrom": "threads",
|
|
3195
|
+
"tableTo": "projects",
|
|
3196
|
+
"columnsFrom": [
|
|
3197
|
+
"project_id"
|
|
3198
|
+
],
|
|
3199
|
+
"columnsTo": [
|
|
3200
|
+
"id"
|
|
3201
|
+
],
|
|
3202
|
+
"onDelete": "cascade",
|
|
3203
|
+
"onUpdate": "no action"
|
|
3204
|
+
},
|
|
3205
|
+
"threads_environment_id_environments_id_fk": {
|
|
3206
|
+
"name": "threads_environment_id_environments_id_fk",
|
|
3207
|
+
"tableFrom": "threads",
|
|
3208
|
+
"tableTo": "environments",
|
|
3209
|
+
"columnsFrom": [
|
|
3210
|
+
"environment_id"
|
|
3211
|
+
],
|
|
3212
|
+
"columnsTo": [
|
|
3213
|
+
"id"
|
|
3214
|
+
],
|
|
3215
|
+
"onDelete": "set null",
|
|
3216
|
+
"onUpdate": "no action"
|
|
3217
|
+
},
|
|
3218
|
+
"threads_automation_id_automations_id_fk": {
|
|
3219
|
+
"name": "threads_automation_id_automations_id_fk",
|
|
3220
|
+
"tableFrom": "threads",
|
|
3221
|
+
"tableTo": "automations",
|
|
3222
|
+
"columnsFrom": [
|
|
3223
|
+
"automation_id"
|
|
3224
|
+
],
|
|
3225
|
+
"columnsTo": [
|
|
3226
|
+
"id"
|
|
3227
|
+
],
|
|
3228
|
+
"onDelete": "set null",
|
|
3229
|
+
"onUpdate": "no action"
|
|
3230
|
+
},
|
|
3231
|
+
"threads_parent_thread_id_threads_id_fk": {
|
|
3232
|
+
"name": "threads_parent_thread_id_threads_id_fk",
|
|
3233
|
+
"tableFrom": "threads",
|
|
3234
|
+
"tableTo": "threads",
|
|
3235
|
+
"columnsFrom": [
|
|
3236
|
+
"parent_thread_id"
|
|
3237
|
+
],
|
|
3238
|
+
"columnsTo": [
|
|
3239
|
+
"id"
|
|
3240
|
+
],
|
|
3241
|
+
"onDelete": "set null",
|
|
3242
|
+
"onUpdate": "no action"
|
|
3243
|
+
}
|
|
3244
|
+
},
|
|
3245
|
+
"compositePrimaryKeys": {},
|
|
3246
|
+
"uniqueConstraints": {},
|
|
3247
|
+
"checkConstraints": {}
|
|
3248
|
+
}
|
|
3249
|
+
},
|
|
3250
|
+
"views": {},
|
|
3251
|
+
"enums": {},
|
|
3252
|
+
"_meta": {
|
|
3253
|
+
"schemas": {},
|
|
3254
|
+
"tables": {},
|
|
3255
|
+
"columns": {}
|
|
3256
|
+
},
|
|
3257
|
+
"internal": {
|
|
3258
|
+
"indexes": {}
|
|
3259
|
+
}
|
|
3260
|
+
}
|