Skip to content

fix-migration-init#202

Closed
VitaliyYurakh wants to merge 1 commit intosindresorhus:mainfrom
VitaliyYurakh:fix-migration-init
Closed

fix-migration-init#202
VitaliyYurakh wants to merge 1 commit intosindresorhus:mainfrom
VitaliyYurakh:fix-migration-init

Conversation

@VitaliyYurakh
Copy link
Copy Markdown

Fix: moved migrations to store initialization; addresses related issues (#290, #256) in a dependent project

https://github.com/sindresorhus/electron-store

sindresorhus added a commit that referenced this pull request Sep 27, 2025
Closes #202
@VitaliyYurakh
Copy link
Copy Markdown
Author

The problem is that migrations run before the store is initialized.
They should only be executed after the store has been properly set up, otherwise it may cause errors or unexpected behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant