lobehub/docs/development
Innei 64fc6d4bbd
feat(database): add document history table and update related models
- 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>
2026-04-15 14:39:37 +08:00
..
basic feat: support multi media and multiple connection mode (#13624) 2026-04-09 14:16:03 +08:00
internationalization 📝 docs: improve self-hosting documents (#11994) 2026-01-30 20:50:05 +08:00
others 📝 docs: improve self-hosting documents (#11994) 2026-01-30 20:50:05 +08:00
state-management feat: Update user guide & changelog (#11518) 2026-01-26 15:28:33 +08:00
tests feat: Update user guide & changelog (#11518) 2026-01-26 15:28:33 +08:00
database-schema.dbml feat(database): add document history table and update related models 2026-04-15 14:39:37 +08:00
start.mdx 📝 docs: update documents (#12982) 2026-03-14 22:06:09 +08:00
start.zh-CN.mdx 📝 docs: update documents (#12982) 2026-03-14 22:06:09 +08:00