mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 16:39:15 +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.
21 lines
343 B
JSON
21 lines
343 B
JSON
{
|
|
"dialect": "sqlite",
|
|
"entries": [
|
|
{
|
|
"breakpoints": true,
|
|
"idx": 0,
|
|
"tag": "0000_init",
|
|
"version": "6",
|
|
"when": 1767272575118
|
|
},
|
|
{
|
|
"breakpoints": true,
|
|
"idx": 1,
|
|
"tag": "0001_futuristic_human_fly",
|
|
"version": "6",
|
|
"when": 1767455592181
|
|
}
|
|
],
|
|
"version": "7"
|
|
}
|