mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 21:01:32 +08:00
- Added `siblingsGroupId` to `message` schema for better message organization. - Introduced `activeNodeId` in `topic` schema to manage message tree structure. - Updated `assistantMeta` and `modelMeta` fields to use specific types for improved type safety. - Included `isNameManuallyEdited` and `sortOrder` in `topic` schema for enhanced topic management. - Added a new entry in the migration journal for version tracking.
2 lines
173 B
SQL
2 lines
173 B
SQL
ALTER TABLE `message` RENAME COLUMN "response_group_id" TO "siblings_group_id";--> statement-breakpoint
|
|
ALTER TABLE `topic` ADD `active_node_id` text REFERENCES message(id); |