HomePhabricator
Diffusion Comm 12b056878a97

[web] Migrate to new id schema

Description

[web] Migrate to new id schema

Summary:
https://linear.app/comm/issue/ENG-3795/migrate-the-sqlite-database
https://linear.app/comm/issue/ENG-3796/migrate-redux-state

ID schema migrations for the web. Also changes the website-responder.js to always respond with converted ids. This is because when the new web app version releases it expects that the redux store will contain converted ids (with the exception of persisted values, which are migrated).

Depends on D8382

Test Plan:

  • Run the old version of the web app, create some drafts, close the web app
  • Run the new version of the web app, check if drafts still exists
  • Explore the app, check if there are any problems
  • Compare redux and sqlite from before and after, and check if all ids were converted

Reviewers: kamil, tomek

Reviewed By: kamil

Subscribers: atul, ashoat

Differential Revision: https://phab.comm.dev/D8383

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jun 27 2023, 1:21 PM
Reviewer
kamil
Differential Revision
D8383: [web] Migrate to new id schema
Parents
rCOMM211813b00496: [lib] Update genesis constant id to new schema
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM12b056878a97: [web] Migrate to new id schema (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Jul 18 2023, 8:48 AM