Commit Graph

6 Commits

Author SHA1 Message Date
Dax Raad 19a41ab297 sync 2026-01-27 17:43:20 -05:00
Dax Raad cd174d8cba sync 2026-01-27 16:57:51 -05:00
Dax Raad 63e38555c9 sync 2026-01-27 15:33:44 -05:00
Dax Raad a48a5a3462 core: migrate from custom JSON storage to standard Drizzle migrations to improve database reliability and performance
This replaces the previous manual JSON file system with standard Drizzle migrations, enabling:
- Proper database schema migrations with timestamp-based versioning
- Batched migration for faster migration of large datasets
- Better data integrity with proper table schemas instead of JSON blobs
- Easier database upgrades and rollback capabilities

Migration changes:
- Todo table now uses individual columns with composite PK instead of JSON blob
- Share table removes unused download share data
- Session diff table moved from database table to file storage
- All migrations now use proper Drizzle format with per-folder layout

Users will see a one-time migration on next run that migrates existing JSON data to the new SQLite database.
2026-01-27 12:36:05 -05:00
Dax Raad 57edb0ddc5 sync 2026-01-26 08:44:19 -05:00
Dax Raad 1e7b4768b1 sync 2026-01-24 11:50:25 -05:00