Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add document-id migration #19514

Merged
merged 12 commits into from Apr 3, 2024
Merged

chore: add document-id migration #19514

merged 12 commits into from Apr 3, 2024

Conversation

alexandrebodin
Copy link
Member

@alexandrebodin alexandrebodin commented Feb 15, 2024

Still needs to be extensively tested (multi DBs & scale)

What does it do?

  • Create and migrate data to document_id

Why is it needed?

to migrate from v4 to v5

How to test it?

test moving from v4 to v5 (main to v5/main) and restarting an app will add the document_id column and populate respecting localizations.

Tested

  • pg
  • mysql
  • sqlite

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

@alexandrebodin alexandrebodin added source: core:database Source is core/database package pr: chore This PR contains chore tasks (cleanups, configs, tooling...) labels Feb 15, 2024
@alexandrebodin alexandrebodin added this to the 5.0.0 milestone Feb 15, 2024
@alexandrebodin alexandrebodin self-assigned this Feb 15, 2024
Copy link
Contributor

github-actions bot commented Feb 15, 2024

Size Change: 0 B

Total Size: 2.38 MB

ℹ️ View Unchanged
Filename Size
examples/getstarted/build/_arrayIncludesWith-Z9Clh9dj.js 123 B
examples/getstarted/build/_baseEach-V4t9OG5M.js 224 B
examples/getstarted/build/_baseMap-nfsR5n9w.js 195 B
examples/getstarted/build/AccordionToggle-lzX5_4E0.js 1.74 kB
examples/getstarted/build/ActionLayout-0xowiAVE.js 246 B
examples/getstarted/build/AdminSeatInfo-KKTvi8LR-O1RqDKkx.js 877 B
examples/getstarted/build/apiTokens-75EXEvGS-424r9q1F.js 435 B
examples/getstarted/build/App-mrzd5Xqj-PpcyEyfA.js 1.36 kB
examples/getstarted/build/App-WrCrq8qe-Elm56hyX.js 10.4 kB
examples/getstarted/build/ApplicationInfoPage-eFuntlx4-P3pBFsXv.js 4.27 kB
examples/getstarted/build/ar--WjMPIRL-OfwQwX0w.js 53 B
examples/getstarted/build/ar-11qdHWP_-lTRwp9eA.js 4.76 kB
examples/getstarted/build/ar-dlnabvQE-oNkFXkcB.js 589 B
examples/getstarted/build/ar-gTQs8p7A-Gxk-HrP0.js 16.4 kB
examples/getstarted/build/ar-MvD8Ghac-9MD2WfIK.js 1.34 kB
examples/getstarted/build/ar-pygLrP3N-qyo4dS5h.js 1.23 kB
examples/getstarted/build/AuthenticatedLayout-mta84NQE-Vjbs6Yn9.js 21.5 kB
examples/getstarted/build/AuthResponse-no1FFPpN-_T5iHU52.js 1.3 kB
examples/getstarted/build/ca-A-U5stlG-yPHlIijm.js 9.95 kB
examples/getstarted/build/ca-EiEoG96a-UXnG62Mm.js 2.4 kB
examples/getstarted/build/ca-JvDzlDN8-ip0nC06S.js 3.79 kB
examples/getstarted/build/CardDragPreview-uDO5sB_t-Gel1IArt.js 612 B
examples/getstarted/build/ColorPickerInput-RhMUg8K_-oV4JqqQZ.js 4.21 kB
examples/getstarted/build/ComboboxOption-lgmRP4nU.js 83 B
examples/getstarted/build/ComponentConfigurationPage-8ZG-FlDr-kMO6zpaK.js 1.77 kB
examples/getstarted/build/ComponentIcon-J3aEhVgQ-jMElfAXq.js 1.66 kB
examples/getstarted/build/constants-EoEtSd4i-bXZWlW2I.js 72 B
examples/getstarted/build/constants-ORUQO0uh-lZeb8yqh.js 721 B
examples/getstarted/build/ContentBox-PbS25I_4-pDe2Y_8p.js 454 B
examples/getstarted/build/CreateActionEE-9o2Mj6Ml-Lxi8NOs1.js 559 B
examples/getstarted/build/CreatePage-FJXNWV-g-KjdzJqE-.js 316 B
examples/getstarted/build/CreatePage-P-JKk6La-bzZiy48-.js 1.89 kB
examples/getstarted/build/CreateView-A1wdcygq-QElsROYy.js 385 B
examples/getstarted/build/CreateView-BKV0PWUL-hyDEfSRU.js 448 B
examples/getstarted/build/cs-2Bc9XvQu-AibGLenG.js 2.8 kB
examples/getstarted/build/cs-A2xRj-2--IgJDOWX6.js 337 B
examples/getstarted/build/cs-BMuXwxA1-Lf1PZDqx.js 1.37 kB
examples/getstarted/build/cs-iYqoHUVt-Um2SgMrC.js 3.75 kB
examples/getstarted/build/cs-rqM0HXju-YvMT15k-.js 53 B
examples/getstarted/build/cs-x2Pr-Y38-mD1uyk8s.js 656 B
examples/getstarted/build/cs-xau8Dr4_-__Zi4ZE2.js 2.5 kB
examples/getstarted/build/de-10J3uf4y-9SlTaJ9_.js 833 B
examples/getstarted/build/de-9PSgvr2T-EiAwusy4.js 4.11 kB
examples/getstarted/build/de-aZJkKhTd-BP4Zi2Vj.js 1.55 kB
examples/getstarted/build/de-CEO1wNhl-M6PiBv1Y.js 2.11 kB
examples/getstarted/build/de-fbz9kK97-SarrOqef.js 3.85 kB
examples/getstarted/build/de-uZBjRd6a-BaOYkUdW.js 9.78 kB
examples/getstarted/build/de-Y9xqNEoA-XPXQPciS.js 53 B
examples/getstarted/build/de-zs2qqc0W-U8ocsjNP.js 1.5 kB
examples/getstarted/build/dk-_8JEfZdj-KZ1C6jVQ.js 979 B
examples/getstarted/build/dk-9BvzO1Z4-jk-ymqLz.js 535 B
examples/getstarted/build/dk-CkeGa322-Pyjtpqwa.js 3.66 kB
examples/getstarted/build/dk-HctVBMsG-kZepplNR.js 1.83 kB
examples/getstarted/build/dk-Ht5BJvwV-Ry01WSP8.js 128 B
examples/getstarted/build/dk-Judjxeox-1UzPKRoY.js 1.88 kB
examples/getstarted/build/dk-KmLnUoJC-KJg8dfYn.js 147 B
examples/getstarted/build/dk-nXAO32DE-esRIqlQ_.js 7.67 kB
examples/getstarted/build/dk-VWynu4hz-3s8zjsTk.js 1.55 kB
examples/getstarted/build/EditConfigurationPage-_hcAbdtA-2kt8Y0sJ.js 1.33 kB
examples/getstarted/build/EditPage-k_6aHRVf-axwgSG4g.js 2.14 kB
examples/getstarted/build/EditPage-NKv-e2KT-PdsgYD6l.js 1.84 kB
examples/getstarted/build/EditPage-qN5pbP1W-kMcUpAT3.js 4.96 kB
examples/getstarted/build/EditView-NsG_ztE8-oQSzKJ8W.js 2.11 kB
examples/getstarted/build/EditViewPage-SORieV31-Vdyw7_wP.js 5.13 kB
examples/getstarted/build/EditViewPage-tgv5mTlB-kYiAJxbU.js 2.03 kB
examples/getstarted/build/en--hlKpBzk-mhAhYQiP.js 126 B
examples/getstarted/build/en-6CS-apqo-Vd4RQECP.js 1.53 kB
examples/getstarted/build/en-A16mqbIV-ZE5AyTsZ.js 136 B
examples/getstarted/build/en-aU0dMEKb.js 74 B
examples/getstarted/build/en-bpHsnU0n-v3YRr4oh.js 1.5 kB
examples/getstarted/build/en-dDNhewrk-XDoFncvz.js 534 B
examples/getstarted/build/en-jvJ-d-Qq-wJl-9fqK.js 1.73 kB
examples/getstarted/build/en-L6ZZWDJv-wSfLfbPo.js 376 B
examples/getstarted/build/en-ng2RUr_a-Le-K72mK.js 4.16 kB
examples/getstarted/build/en-Q6nIM8GZ-dPmFPYet.js 2.5 kB
examples/getstarted/build/en-qvX6GTOD-vguxMQAh.js 12.8 kB
examples/getstarted/build/en-V4ac9UMW-gfrwi5iq.js 920 B
examples/getstarted/build/en-wwR1_CqB-Cch6b7Dd.js 4.88 kB
examples/getstarted/build/Envelop-7cfBWG8F.js 493 B
examples/getstarted/build/es-_xZ14QXK-35l05Fao.js 153 B
examples/getstarted/build/es--j8v7mdj-ChKsgIdq.js 1.61 kB
examples/getstarted/build/es-21jfFVzQ-UMLmQgLp.js 139 B
examples/getstarted/build/es-5S-jv_iF-K3o0j8Ht.js 598 B
examples/getstarted/build/es-64knIPhK-Q5GJG4zi.js 2.37 kB
examples/getstarted/build/es-9381tih_-pysvQggc.js 1.96 kB
examples/getstarted/build/es-DfbpvVeJ-Rl6RxhGa.js 3.89 kB
examples/getstarted/build/es-f_rfLY5r-TpsXtt0T.js 1.01 kB
examples/getstarted/build/es-i0dEHPPQ-eSz8_T_p.js 11.2 kB
examples/getstarted/build/es-JJbImDCo-Yt-bEmx2.js 3.65 kB
examples/getstarted/build/es-kL6_JyxJ.js 74 B
examples/getstarted/build/eu-j4oIDqKd-Qw8enYod.js 3.74 kB
examples/getstarted/build/eu-wFmYHERY-kH-47ER2.js 11.3 kB
examples/getstarted/build/EventsTable-ZGByQmYS-2ocRXUKG.js 448 B
examples/getstarted/build/FieldTypeIcon-nCjY9qjf-fXnUWXBe.js 463 B
examples/getstarted/build/Form-0rO8WMpO-04arrO8E.js 4.6 kB
examples/getstarted/build/fr--lu63fR9-J7zsssVp.js 53 B
examples/getstarted/build/fr-4BkQ-Qvt-61f3X0M0.js 161 B
examples/getstarted/build/fr-8muIKZms-fv5MyU5b.js 133 B
examples/getstarted/build/fr-CMSc77If-WPdBcBLd.js 1.33 kB
examples/getstarted/build/fr-KpqEX0Gy-eYzM6vQp.js 3.82 kB
examples/getstarted/build/fr-L2xRpd2l-4rQupIi3.js 792 B
examples/getstarted/build/fr-lLO-TUNw-H5PlfKdG.js 1.55 kB
examples/getstarted/build/fr-M0bxmaOq-0NacE9S4.js 2.77 kB
examples/getstarted/build/fr-mov19PPz-wbJqtNt3.js 1.65 kB
examples/getstarted/build/fr-OI7VyC_k-84QqR9Eb.js 9.75 kB
examples/getstarted/build/getTrad-SeEDjZbP-IzBXC97v.js 96 B
examples/getstarted/build/Github-WcPRW1XF.js 574 B
examples/getstarted/build/groupBy-YT7ymOQV.js 558 B
examples/getstarted/build/gu-_s5jLPk0-lGHViPzE.js 4.47 kB
examples/getstarted/build/gu-zSaMc-a6-uogbg-s6.js 9.55 kB
examples/getstarted/build/he-_fSaX9rS-aKNhCM8F.js 1.62 kB
examples/getstarted/build/he-YzAGShlQ-4eg3YSra.js 6.1 kB
examples/getstarted/build/hi-MbTL0qJp-v9uDPoIr.js 4.54 kB
examples/getstarted/build/hi-ZQ4t6UdY-BOET01jD.js 11.5 kB
examples/getstarted/build/History-qws9GNn3-ezetUQtY.js 3.36 kB
examples/getstarted/build/HomePage-Gt7-reqY-xPWDB09C.js 13.4 kB
examples/getstarted/build/HomePage-WNfhIqeG-Gj_GnjWB.js 317 B
examples/getstarted/build/hooks-FsqCzq0L-7hVHJEOn.js 97 B
examples/getstarted/build/hu-O1FJoY8c-Pfx7-6mX.js 12.2 kB
examples/getstarted/build/hu-p07EK8x0-p9LY3nuM.js 3.99 kB
examples/getstarted/build/id-inlH2S97-J7zsssVp.js 53 B
examples/getstarted/build/id-l-r-lPDE-BhFI5f3g.js 707 B
examples/getstarted/build/id-Lb_0kPQU-ya3XLzPL.js 5.25 kB
examples/getstarted/build/id-SDuyIkZa-ya_EW1h9.js 1.41 kB
examples/getstarted/build/id-SxErtbYb-4zKP7CcN.js 3.24 kB
examples/getstarted/build/id-Uu1zcAnS-FYt5dsaX.js 2.82 kB
examples/getstarted/build/index-_UpSs6sm-lM6AORVk.js 5.49 kB
examples/getstarted/build/index-3dLdsY7Q.js 572 B
examples/getstarted/build/index-5DzZCzwU-SZ5GQVOr.js 58 kB
examples/getstarted/build/index-a65O1P4_-MVBrqB5p.js 1.93 kB
examples/getstarted/build/index-dQR1RJ-6.js 6.13 kB
examples/getstarted/build/index-EJfF2Rbr.js 584 B
examples/getstarted/build/index-gOLxdZPm-vQuYq6U1.js 1.55 kB
examples/getstarted/build/index-hKqsGuL5.js 104 B
examples/getstarted/build/index-LsKlxP6S-oQIcvRQn.js 7.8 kB
examples/getstarted/build/index-PCKQWB49-i9LmKIQp-KCheO_Z_.js 53 kB
examples/getstarted/build/index-roTH2zy3-yx_-1Tyd.js 1.95 kB
examples/getstarted/build/index-TXQYZjEq.js 121 B
examples/getstarted/build/index-wEVYQ70B-YkDVNA5f.js 1.53 kB
examples/getstarted/build/index-wRXHhHPH-h2OKyFtp.js 3 kB
examples/getstarted/build/index.html 592 B
examples/getstarted/build/InputRenderer-fDeMcnqG-FiFDfOKC.js 560 kB
examples/getstarted/build/InputRenderer-fDeMcnqG-O1OTS4OG.css 369 B
examples/getstarted/build/InstalledPluginsPage--ZsKfXh4-oyx_M_e_.js 812 B
examples/getstarted/build/isNil-PpPOe_6b.js 117 B
examples/getstarted/build/it-136monzD-tokYz7HG.js 5.56 kB
examples/getstarted/build/it-1VgFtCa5-J7zsssVp.js 53 B
examples/getstarted/build/it-9O4SdU5h-aaOVPUDe.js 2.94 kB
examples/getstarted/build/it-bvH7DgQo-1AwxmJ3Y.js 1.49 kB
examples/getstarted/build/it-DZbHdndP-rZflbVRJ.js 3.38 kB
examples/getstarted/build/it-G91O8vsJ-DX1NUby4.js 1.48 kB
examples/getstarted/build/it-nCSZoaet-0SVrzIJn.js 746 B
examples/getstarted/build/ja-0-FUC0T4-EFEq4X-l.js 8.82 kB
examples/getstarted/build/ja-2RIm-gdA-nIra1cbN.js 693 B
examples/getstarted/build/ja-B9ppS86Y-fD48MWCR.js 3.98 kB
examples/getstarted/build/ja-o_-JPvQv-inHXSRgZ.js 1.4 kB
examples/getstarted/build/ja-XQwSRd0U-qT8z9vkY.js 1.76 kB
examples/getstarted/build/ja-yh0nzpcN-T3CoLbGy.js 1.14 kB
examples/getstarted/build/Key-pa4NbEbt.js 255 B
examples/getstarted/build/ko-cgLmk3uQ-Su0LsWoh.js 3.75 kB
examples/getstarted/build/ko-CHwWbicn-njDCEwti.js 4.08 kB
examples/getstarted/build/ko-dH9q_Ivi-SaGvSzEi.js 2.31 kB
examples/getstarted/build/ko-FS6iSiMF-dJRTYeQY.js 652 B
examples/getstarted/build/ko-H3Y8GpnD-sbyRlkig.js 8.35 kB
examples/getstarted/build/ko-JK6i4QQ5-j_MEDjAy.js 1.7 kB
examples/getstarted/build/ko-NdEnkB5D-cGRR8wfP.js 152 B
examples/getstarted/build/ko-pUwRxmfG-aWThbceX.js 1.17 kB
examples/getstarted/build/ko-XJbPSez_-84xWDr4V.js 2.07 kB
examples/getstarted/build/Layer-RfwRyq2t.js 307 B
examples/getstarted/build/Layout-258lhDFD.js 240 B
examples/getstarted/build/Layout-fD9qm3jw-fXlsj7fZ.js 1.62 kB
examples/getstarted/build/layout-S_g8xNxE-9_z02iM3.js 3.29 kB
examples/getstarted/build/Link-A5r_HOsC.js 601 B
examples/getstarted/build/ListConfigurationPage-_WDagW26-vxd9ewSa.js 4.35 kB
examples/getstarted/build/ListPage-cdXKmKwt-GYp4RoMr.js 2.96 kB
examples/getstarted/build/ListPage-FjHi4ZGu-bY-hokYH.js 1.95 kB
examples/getstarted/build/ListPage-fjrFazMD-PBpcbGag.js 2.46 kB
examples/getstarted/build/ListPage-TQPuZR4V-__9YlS2q.js 3.48 kB
examples/getstarted/build/ListPage-WozCiyeB-pc2OpGkf.js 355 B
examples/getstarted/build/ListView-jUavvOoD-y2VaTVSr.js 1.36 kB
examples/getstarted/build/ListView-T5y4ambL-b8x1Zye5.js 1.38 kB
examples/getstarted/build/ListView-XXi6FxBH-xcsPim9M.js 5.75 kB
examples/getstarted/build/ListViewPage-B1Bk8rKi-wiFZBGK-.js 5.89 kB
examples/getstarted/build/Lock-VrYoOGs2.js 282 B
examples/getstarted/build/Login-pnQ7v5vq-PtgS3vBZ.js 470 B
examples/getstarted/build/MagicLinkEE-ahlmWLG6-j6mlsYgd.js 434 B
examples/getstarted/build/MarketplacePage-gDPY0phu-dSqMEy20.js 14.7 kB
examples/getstarted/build/ml-NPdcpJoN-LRx2JWjv.js 11.9 kB
examples/getstarted/build/ml-r1YJf2PO-GeUmgNFs.js 4.77 kB
examples/getstarted/build/ModalForm-Gh2063zZ-1vxEmnad.js 244 B
examples/getstarted/build/ms-8e8SEhhY-E73gbyvG.js 714 B
examples/getstarted/build/ms-cJhKTqZ1-RtqozBHF.js 1.33 kB
examples/getstarted/build/ms-II5Ea73J-gubEhBMA.js 1.2 kB
examples/getstarted/build/ms-MiLXNCjS-5gRZye-c.js 3.24 kB
examples/getstarted/build/ms-msJ5VJP--YvMT15k-.js 53 B
examples/getstarted/build/ms-v9c434YI-YMEL7TzC.js 3.97 kB
examples/getstarted/build/ms-W6NBu3sM-v2pCVL2s.js 2.67 kB
examples/getstarted/build/nl-dn3A0wMn-bqDcN1J_.js 3.27 kB
examples/getstarted/build/nl-nqu0tpen-J7zsssVp.js 53 B
examples/getstarted/build/nl-qHmOt3d1-ieWZHZDE.js 11.5 kB
examples/getstarted/build/nl-RjdbZWuM-Deayapbr.js 598 B
examples/getstarted/build/nl-vEy6TN0K-be7tfgxk.js 1.25 kB
examples/getstarted/build/nl-w2qIb3Nq-wahL0XP7.js 3.76 kB
examples/getstarted/build/no-XGZQN-Ji-Zi40WCOy.js 5.51 kB
examples/getstarted/build/NoContentTypePage-PTw89JtQ-sJCZo6hu.js 445 B
examples/getstarted/build/NoPermissionsPage-g3b75IeX-b9TodAd3.js 227 B
examples/getstarted/build/objects-sSgk4PWh-27B0Ho-s.js 386 B
examples/getstarted/build/Ornaments-izqdN6fh-l53MSMkS.js 1.5 kB
examples/getstarted/build/Permissions-l8yWERDW-GdgNd8nT.js 9.38 kB
examples/getstarted/build/pl-2VowaFGt-ibb6xpXA.js 2.01 kB
examples/getstarted/build/pl-5DTLh5PW-0Y8k-ElF.js 147 B
examples/getstarted/build/pl-fGfT_UEg-y4TXPzZq.js 1.7 kB
examples/getstarted/build/pl-hIkybdiE-KBgOzada.js 4.05 kB
examples/getstarted/build/pl-Id5YX-Pw-3MHBuaAm.js 10.1 kB
examples/getstarted/build/pl-OEzE99CQ-KaMlTtEc.js 576 B
examples/getstarted/build/pl-PGx8jRyO-NTdNMfc1.js 2.08 kB
examples/getstarted/build/pl-sh4sAKA8-uB4pwcJz.js 1.01 kB
examples/getstarted/build/pl-TWurBBP_-DjE0-zMU.js 149 B
examples/getstarted/build/pl-Vzcavnin-37e7S9b5.js 3.79 kB
examples/getstarted/build/Play-xiOEMmMZ.js 262 B
examples/getstarted/build/PrivateRoute-m7OeCfYA-3_V8f2W0.js 250 B
examples/getstarted/build/ProfilePage-mO3MQozZ-ZUv3AzSE.js 2.26 kB
examples/getstarted/build/pt-BR-0o0Gf-P8-n5JNyCLU.js 10.9 kB
examples/getstarted/build/pt-BR-kotPmwXm--ley41Tw.js 1.52 kB
examples/getstarted/build/pt-BR-LiYpRJVe-p7Yl8DjA.js 4.07 kB
examples/getstarted/build/pt-BR-NChlUBNo-J7zsssVp.js 53 B
examples/getstarted/build/pt-BR-sS1Xp3Jt-jxR0Fcqo.js 1.13 kB
examples/getstarted/build/pt-BR-uX3O_t0X-ZJbjE7ae.js 608 B
examples/getstarted/build/pt-BR-Yn6L45Dt-eSebcp0Q.js 3.79 kB
examples/getstarted/build/pt-f52AXrxz-nrZ8Jedi.js 4.2 kB
examples/getstarted/build/pt-gbCWl_O7-Z5hznfVx.js 1.89 kB
examples/getstarted/build/pt-GqKRRnNe-ZJbjE7ae.js 608 B
examples/getstarted/build/pt-h5YyM5q5-A2Z5oWUc.js 1.52 kB
examples/getstarted/build/pt-qlftKgX5-oQDNFTyt.js 597 B
examples/getstarted/build/pt-Rf9W51IO-j_n3oUw2.js 1.22 kB
examples/getstarted/build/pt-VtuofvU--EakBvr5U.js 1.04 kB
examples/getstarted/build/PurchaseAuditLogs-8_4PcW7P-yqFe3x58.js 538 B
examples/getstarted/build/PurchaseContentReleases-3tRbmbY3-YTxKiURQ.js 547 B
examples/getstarted/build/PurchaseSingleSignOn--gblfVu6-pHu4yjAi.js 530 B
examples/getstarted/build/Refresh-OvcFz9Ii.js 523 B
examples/getstarted/build/relations-P1J3ofG9-WDVM_Rt_.js 765 B
examples/getstarted/build/Relations-WtKsouRS-3jjEJ__b.js 7.85 kB
examples/getstarted/build/ru-_BJx1_V5-cpy1qczH.js 240 B
examples/getstarted/build/ru-aD804UEo-8TSo8mRS.js 200 B
examples/getstarted/build/ru-dQr7xFOb-yN33KaiO.js 1.28 kB
examples/getstarted/build/ru-e-9QT8uo-J7zsssVp.js 53 B
examples/getstarted/build/ru-FpmG9SEf-oSX0ZDQG.js 15.9 kB
examples/getstarted/build/ru-hAJgc9YJ-_D83GCGH.js 5.76 kB
examples/getstarted/build/ru-LLXYEOwl-maC6HF0B.js 610 B
examples/getstarted/build/ru-qKHnd5or-thb_Fbcx.js 2.51 kB
examples/getstarted/build/ru-vTF6FKW4-Tkhzn04j.js 2.15 kB
examples/getstarted/build/ru-YHGnfUOQ-hkQl0E6s.js 1.83 kB
examples/getstarted/build/ru-YqhibZuD-iaednnF_.js 4.29 kB
examples/getstarted/build/sa-FIdVzik0-S1jDb5LE.js 4.59 kB
examples/getstarted/build/sa-KUwV8aRB-IQHhYTUV.js 11.7 kB
examples/getstarted/build/selectors-i8UwQyuC-2Y-0ih-d.js 110 B
examples/getstarted/build/SelectRoles-vs_GIRku-T-xuBFXk.js 1.02 kB
examples/getstarted/build/Settings-8v7IbdtY-EHvUhlKU.js 1.49 kB
examples/getstarted/build/Settings-bakpbLes-EhSvoro8.js 1.8 kB
examples/getstarted/build/SettingsPage-PEIiHMWi-IOtWBPxW.js 3.16 kB
examples/getstarted/build/ShoppingCart-3sc0IA-z.js 982 B
examples/getstarted/build/SingleSignOnPage-rFbze2qS-TxI2ayDC.js 1.77 kB
examples/getstarted/build/sk-_Ryr-eTT-8Uj72yzG.js 1.28 kB
examples/getstarted/build/sk-CmFzcTCe-KHUfCq6U.js 3.59 kB
examples/getstarted/build/sk-g_1C955P-mPkBXBAO.js 8.64 kB
examples/getstarted/build/sk-JYYgDOpb-1cMG9Knz.js 2.47 kB
examples/getstarted/build/sk-kFsAagmb-46aV39mw.js 3.86 kB
examples/getstarted/build/sk-nreoyD6V-ggHs-0Lm.js 745 B
examples/getstarted/build/sk-ynr7Qeic-YvMT15k-.js 53 B
examples/getstarted/build/sortBy-0Yy7sxdK.js 687 B
examples/getstarted/build/SSOProviders-f1OPn1AH-Fbb4WYeh.js 701 B
examples/getstarted/build/Star-ydqrxpQa.js 275 B
examples/getstarted/build/strapi-jibWoDgi.css 1.25 kB
examples/getstarted/build/strapi-Yl0IuYey.js 676 kB
examples/getstarted/build/SubNavSections-rPXfVA9B.js 1.93 kB
examples/getstarted/build/sv-2OIm9369-bnDuQoPA.js 3.71 kB
examples/getstarted/build/sv-3cUQOOsD-1iCRdl0z.js 4.09 kB
examples/getstarted/build/sv-BqzScFXS-pL3ydTXh.js 1.92 kB
examples/getstarted/build/sv-kIUD_46v-avkm-3K_.js 1.02 kB
examples/getstarted/build/sv-lzyY1dsz-5_1cEk_Q.js 11.2 kB
examples/getstarted/build/sv-N5RufX6w-rWDZASZZ.js 148 B
examples/getstarted/build/sv-QqRPNQLw-cuaLfeFA.js 318 B
examples/getstarted/build/sv-YocrQXH3-Fok_vvxs.js 140 B
examples/getstarted/build/Table-yt4e2psj-R6Q4Y0aL.js 1.5 kB
examples/getstarted/build/tail-Mz7YOLZw.js 243 B
examples/getstarted/build/TFooter-KxiWRsdI.js 454 B
examples/getstarted/build/th-7LJ9Y8EL-ysaz4e2-.js 6.16 kB
examples/getstarted/build/th-8DzOZ1N_-FxAPZ0C9.js 1.82 kB
examples/getstarted/build/th-AXP1swr_-J7zsssVp.js 53 B
examples/getstarted/build/th-IcmZ0Yif-D0PagSr4.js 970 B
examples/getstarted/build/th-JcSZNDPL-1fSFXv5j.js 4.07 kB
examples/getstarted/build/th-LBV0oiV_-tUeqjoTS.js 3.27 kB
examples/getstarted/build/th-WsknMEpq-lnzlXrl4.js 1.84 kB
examples/getstarted/build/TokenTypeSelect-FTMoBhn3-wRUD02N1.js 123 kB
examples/getstarted/build/tr-_DB1F1GW-vDV9wXQt.js 1.95 kB
examples/getstarted/build/tr-09v-DLMg-cNNBLaKK.js 10.7 kB
examples/getstarted/build/tr-662MrIbF-YXWMRKvx.js 3.71 kB
examples/getstarted/build/tr-BJx1RKAN-9B7IB-8r.js 2.24 kB
examples/getstarted/build/tr-CkXew0gQ-g4Y7oIKB.js 1.02 kB
examples/getstarted/build/tr-ddMDJOmn-ArVPthOz.js 604 B
examples/getstarted/build/tr-i2ZHjSRk-dSRlw_D3.js 3.69 kB
examples/getstarted/build/tr-n0TEbzkp-B4IbSD24.js 1.59 kB
examples/getstarted/build/tr-nkbjyt2S-qg5Qg3zO.js 135 B
examples/getstarted/build/tr-qYGSw8gH-5R6O9qSM.js 297 B
examples/getstarted/build/tr-ucOQiEOl.js 83 B
examples/getstarted/build/tr-UmSHgD8y-xxB3ji51.js 158 B
examples/getstarted/build/transferTokens-Dibaubom-gHeZfWQc.js 436 B
examples/getstarted/build/Twitter-Yha5VaA5.js 436 B
examples/getstarted/build/Uid-ydFVRGxb.js 4.8 kB
examples/getstarted/build/uk-38IblmOr-QieAa7Gx.js 4.83 kB
examples/getstarted/build/uk-E8Js7gDb-yUi8a8Hj.js 950 B
examples/getstarted/build/uk-MjxGeH8V-4Cy7dUJl.js 3.2 kB
examples/getstarted/build/uk-TAkZuqhF-8NqHl1Qp.js 1.76 kB
examples/getstarted/build/uk-VnKUi6CK-J7zsssVp.js 53 B
examples/getstarted/build/uk-wS6hV3Qo-nrIhdC46.js 4.05 kB
examples/getstarted/build/uk-yxMSQAwI-sufYD23D.js 1.57 kB
examples/getstarted/build/urls-U_jzJvZZ-6HM4lUGW.js 471 B
examples/getstarted/build/useAdminRoles-iyGa9Xh9-m73YrMu0.js 241 B
examples/getstarted/build/UseCasePage-ifVOOcqK-hYx_la_H.js 1.28 kB
examples/getstarted/build/useDragAndDrop-qJbeBXii-kkJqjUqh.js 2.01 kB
examples/getstarted/build/useLicenseLimitNotification-d06Aex_I-KsByN1i6.js 784 B
examples/getstarted/build/useLicenseLimits-EyslHDFM-Dz0BkDq-.js 248 B
examples/getstarted/build/useOnce-GJ2Ta2mZ--qV5QD1L.js 102 B
examples/getstarted/build/users-P2ivP9Cm-biVu7ccp.js 111 B
examples/getstarted/build/useWebhooks-Dae71Az5-TBbFY9SU.js 585 B
examples/getstarted/build/valid-V9T9BTE3.js 2.82 kB
examples/getstarted/build/validation-GUb7vvsl-lV22S4ta.js 428 B
examples/getstarted/build/vi-10CsgDK2-Urhr1M2j.js 130 B
examples/getstarted/build/vi-k1R3Y3mS-e6dVFr5e.js 894 B
examples/getstarted/build/vi-rHzGZoeX-J7zsssVp.js 53 B
examples/getstarted/build/vi-ryNZtXtk-EyNKiOcR.js 4.17 kB
examples/getstarted/build/vi-v2DtY-vR-bmUBo1M4.js 2.33 kB
examples/getstarted/build/vi-xY0zCW3d-CTrLdcKo.js 1.4 kB
examples/getstarted/build/Wheelchair--zcmh92f.js 11.1 kB
examples/getstarted/build/zh-fPTOIT6s-3nXFkBcm.js 331 B
examples/getstarted/build/zh-Hans-7RFZCPSX-iTSSvdn7.js 3.22 kB
examples/getstarted/build/zh-Hans-ClgXy4wM-zIEwBvmr.js 140 B
examples/getstarted/build/zh-Hans-E84cu4kP-esCS3h8E.js 1.99 kB
examples/getstarted/build/zh-Hans-FdUTcggu-Z4E8vffy.js 875 B
examples/getstarted/build/zh-Hans-gue_fPye-gDZbyPra.js 2.88 kB
examples/getstarted/build/zh-Hans-HlxDUeVA-5rwYKCvD.js 12.7 kB
examples/getstarted/build/zh-Hans-lA3il0Ya-2NfuE455.js 1.45 kB
examples/getstarted/build/zh-Hans-S881g_9w-1MvYxa2Z.js 16.2 kB
examples/getstarted/build/zh-Hans-yp2AYznJ-1nykAmIu.js 389 B
examples/getstarted/build/zh-KvwXXMnA-oPfnHQD3.js 154 B
examples/getstarted/build/zh-kY_lTWWN-p5mfH7xE.js 1.57 kB
examples/getstarted/build/zh-LVlFs0Ol-cMwuYEn5.js 637 B
examples/getstarted/build/zh-nyfS9-tF-nLF4rje-.js 2.43 kB
examples/getstarted/build/zh-OFeldzbX-KUd3x9W0.js 1.91 kB
examples/getstarted/build/zh-t8kOIWsP-y_lzxhpN.js 4.2 kB
examples/getstarted/build/zh-uYDxJNM3-EdNDaMV2.js 3.87 kB
examples/getstarted/build/zh-Vd3mfBR--f6qScRof.js 1.07 kB
examples/getstarted/build/zh-WEteLuNm-eJaVPrr7.js 11.4 kB
examples/getstarted/build/zh-WWNi5hqs-mHAwOl5D.js 144 B

compressed-size-action

@alexandrebodin alexandrebodin force-pushed the v5/document-id-migration branch 3 times, most recently from 79d39f9 to 397e04a Compare February 15, 2024 10:38
@alexandrebodin alexandrebodin marked this pull request as ready for review February 15, 2024 15:36
Copy link
Contributor

@Marc-Roig Marc-Roig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean! 🚀
I created another ticket to migrate and generate the draft versions of documents when D&P is enabled

Comment on lines 12 to 15
database: 'postgres',
user: 'postgres',
password: 'test',
port: 54321,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to keep the old credentials, as all databases sahre the same ones! is there any reason to change these ones?

Comment on lines 134 to 136
const hasLocalizationsJoinTable = async (knex: Knex, tableName: string) => {
return knex.schema.hasTable(`${tableName}_localizations_links`);
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how @innerdvations, about shortening table names, is going to affect this bit.

After the first migration to v5, I imagine the table names will have not been shortened in knex schema right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will have to update it later, but we can merge this first and I'll take it into account for my feature and fix it.

I actually suspect we will find a lot of little places throughout the codebase with hardcoded names that I'm not currently aware of and can't easily discover until I start testing the shortening and see what breaks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, I wanted to take a look when reviewing your PR!

Copy link
Member

@joshuaellis joshuaellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a good way to test this might be to use the V4 e2e data set, i think the tests should(?) still pass at the moment 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about naming it something like 5.0.0-01-document-id.ts so that we have an easy way to see the version it was introduced in and the order in which the migrations are run? It's not (currently) enforced by the internal migrations loader because we're just using an array, but it could be added later, and in the meantime it would still be helpful to keep things organized as we add more migrations

Copy link
Contributor

@innerdvations innerdvations left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly a concern of this PR, but since this is our first internal migration:

Do we have a plan or documentation for when a migration fails? It looks like in the case of a catastrophic failure, knex will leave the db lock in place and users will have to manually remove it: https://knexjs.org/guide/migrations.html#notes-about-locks

Copy link

vercel bot commented Mar 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ❌ Failed (Inspect) Apr 3, 2024 0:34am

@laurenskling
Copy link
Contributor

Looking forward to this <3

Copy link
Member Author

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge and start getting community members to test the migration cc @derrickmehaffy if you have some candidates for data migration tests soon :)

@Marc-Roig
Copy link
Contributor

I would personally wait for #19813 too before testing the v4 data migration

@Marc-Roig
Copy link
Contributor

@innerdvations about the lock, I have only been testing this with sqlite, but at least I did not need to remove any lock if the migration failed.

@Marc-Roig Marc-Roig removed this from the 5.0.0-beta.0 milestone Apr 3, 2024
@Marc-Roig Marc-Roig merged commit 1122223 into v5/main Apr 3, 2024
77 of 85 checks passed
@Marc-Roig Marc-Roig deleted the v5/document-id-migration branch April 3, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore This PR contains chore tasks (cleanups, configs, tooling...) source: core:database Source is core/database package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants