cherry-studio/src/main/data/db/schemas
fullex e6f85ba9fc fix(migration): add ‘pending' to check
- 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.
2026-01-03 23:55:56 +08:00
..
appState.ts refactor(migration): rename data migration files and update migration logic 2025-08-09 22:37:20 +08:00
columnHelpers.ts feat(api): enhance message and topic schemas with new features 2025-12-29 00:42:55 +08:00
entityTag.ts feat(database): add user data schemas for topic, message, group, and tag 2025-12-24 23:19:25 +08:00
group.ts feat(database): update README and column helpers for schema guidelines 2025-12-26 22:45:13 +08:00
message.ts fix(migration): add ‘pending' to check 2026-01-03 23:55:56 +08:00
messageFts.ts feat(database): add user data schemas for topic, message, group, and tag 2025-12-24 23:19:25 +08:00
preference.ts feat(database): add user data schemas for topic, message, group, and tag 2025-12-24 23:19:25 +08:00
tag.ts feat(database): update README and column helpers for schema guidelines 2025-12-26 22:45:13 +08:00
topic.ts feat(api): enhance message deletion functionality with activeNodeId management 2025-12-29 13:42:05 +08:00