cherry-studio/migrations/sqlite-drizzle
fullex 3dfd5c7c2b feat: add custom SQL handling for triggers and virtual tables
- Introduced a new method `runCustomMigrations` in `DbService` to execute custom SQL statements that Drizzle cannot manage, such as triggers and virtual tables.
- Updated `database-patterns.md` and `README.md` to document the handling of custom SQL and its importance in maintaining database integrity during migrations.
- Refactored `messageFts.ts` to define FTS5 virtual table and associated triggers as idempotent SQL statements for better migration management.
2026-01-04 01:07:04 +08:00
..
meta feat: add custom SQL handling for triggers and virtual tables 2026-01-04 01:07:04 +08:00
0000_init.sql refactor(database): update message and topic table structures 2026-01-01 21:18:28 +08:00
0001_futuristic_human_fly.sql fix(migration): add ‘pending' to check 2026-01-03 23:55:56 +08:00