mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 08:59:02 +08:00
- Introduced a new SQL migration script to create the `__new_message` table with updated schema, including foreign key constraints and check constraints for `role` and `status`. - Migrated existing data from the old `message` table to the new structure and renamed the table to `message`. - Added indexes for improved query performance on `parent_id`, `topic_id`, and `trace_id`. - Updated metadata to reflect the new migration version and breakpoints for debugging.
20 lines
342 B
JSON
20 lines
342 B
JSON
{
|
|
"dialect": "sqlite",
|
|
"entries": [
|
|
{
|
|
"breakpoints": true,
|
|
"idx": 0,
|
|
"tag": "0000_init",
|
|
"version": "6",
|
|
"when": 1767272575118
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "6",
|
|
"when": 1767455592181,
|
|
"tag": "0001_futuristic_human_fly",
|
|
"breakpoints": true
|
|
}
|
|
],
|
|
"version": "7"
|
|
} |