opencode/packages/console/core
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
..
migrations chore: generate 2026-01-22 22:04:55 +00:00
script chore: generate 2026-01-23 05:28:47 +00:00
src zen: handle subscription payment failure 2026-01-25 17:46:18 -05:00
.gitignore wip: zen 2025-10-16 22:28:09 -04:00
drizzle.config.ts wip: zen 2025-09-18 10:59:01 -04:00
package.json core: migrate from custom JSON storage to standard Drizzle migrations to improve database reliability and performance 2026-01-27 12:36:05 -05:00
sst-env.d.ts wip: zen black 2026-01-22 13:02:28 -05:00
tsconfig.json wip: zen 2025-10-02 13:58:40 -04:00