Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Aug 21, 2025

Pull Request Description

This PR cleans up some of the logic surrounding database initialization/setup:

  • Updated drift and related packages
  • Cleaned up database initialization logic (for mobile/web implementations)
  • Re-exported schema versions and migrated them into lib/src/core/database/schemas
  • Added migration tests for each version upgrade
  • Updated the web build to work properly with the database changes

This PR also removes the SQLite → Drift migration that was introduced in v0.3.0 (Apr 10, 2024). The goal here is to reduce tech debt by eliminating the need to maintain this transition logic as we make more changes to the database. This does mean that users upgrading directly from v0.2.9 to v0.8.0 will not have their data automatically migrated.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Checklist

  • If a new package was added, did you ensure it uses an appropriate license and is actively maintained?
  • Did you use localized strings (and added appropriate descriptions) where applicable?
  • Did you add semanticLabels where applicable for accessibility?

@hjiangsu hjiangsu merged commit 0dfe213 into develop Aug 21, 2025
1 check passed
@hjiangsu hjiangsu deleted the feat/database-improvements branch August 21, 2025 16:50
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