This repository was archived by the owner on Oct 22, 2024. It is now read-only.
Conversation
def7639 to
792ec3b
Compare
e1a0a4c to
453a8d6
Compare
ff8121b to
8be2eff
Compare
Member
Author
|
@matthewwalsh0 if I am not mistaken, you suggested importing all migration files and generating But if this is not what you were suggesting, forgive me, time passed since I opened this PR, barely remember :) |
matthewwalsh0
approved these changes
Jan 20, 2023
cryptotavares
approved these changes
Jan 20, 2023
714a930 to
3a601ee
Compare
3a601ee to
8bd40cb
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR aims to add an implementation of UI store migration base.
Since we persist two different stores (
pair-statusandroot) we need individual migration functions for each.All persisted store versions will start from 0 and it will increment once migration happens.
Example migration implementation
rootPersistedConfigversion 0 to 1)packages/app/ui/migrations/root/m1.jsindex.jswith version and migration functionHow to reproduce migration in local
createMigratefunction optiondebugto true (packages/app/ui/ducks/index.js)