Skip to content

Commit c49659e

Browse files
author
bthos
committed
Implement database schema versioning and migration strategy
- Introduced a constant for the latest schema version to streamline new installations. - Added logic to differentiate between fresh installs and existing databases, ensuring proper schema version recording. - Refactored migration functions to utilize transactions for safer database updates. - Enhanced category update logic to include name changes during migrations, addressing potential issues from previous migrations.
1 parent 53b7556 commit c49659e

2 files changed

Lines changed: 343 additions & 416 deletions

File tree

0 commit comments

Comments
 (0)