mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
64fc6d4bbd
- Introduced a new `document_histories` table to track changes made to documents, including fields for `editor_data`, `save_source`, and `saved_at`. - Updated foreign key relationships to link `document_histories` with `documents` and `users`. - Modified existing models and tests to accommodate the new document history functionality, including changes to pagination and retrieval methods. - Removed the versioning system from documents in favor of a more flexible history tracking approach. Signed-off-by: Innei <tukon479@gmail.com>