-
Notifications
You must be signed in to change notification settings - Fork 22
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
refactor(dev-wallet): split keyset and account model #2162
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
|
@@ -49,7 +49,7 @@ const createConnectionPool = ( | |||
}; | |||
|
|||
const DB_NAME = 'dev-wallet'; | |||
const DB_VERSION = 28; | |||
const DB_VERSION = 31; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in general, as long as this number is different it will rebuild right? regardless of the number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the version is less than the current db version then it throws an error but if its bigger than that it runs the migrate code which for now it just wipe the database ad create a fresh one (later we must address this).
No description provided.