mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-09 12:31:08 +08:00
- 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. |
||
|---|---|---|
| .. | ||
| apiServer | ||
| configs | ||
| data | ||
| integration | ||
| knowledge | ||
| mcpServers | ||
| services | ||
| utils | ||
| bootstrap.ts | ||
| config.ts | ||
| constant.ts | ||
| electron.d.ts | ||
| env.d.ts | ||
| index.ts | ||
| ipc.ts | ||