1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

sdocStartRevise

This commit is contained in:
skywalker
2023-06-28 14:48:59 +08:00
committed by er-pai-r
parent 0da16303f5
commit 5abb686efb
10 changed files with 250 additions and 54 deletions

View File

@@ -1403,12 +1403,14 @@ CREATE TABLE `sdoc_revision` (
`repo_id` varchar(36) NOT NULL,
`doc_uuid` varchar(36) NOT NULL,
`origin_doc_uuid` varchar(36) NOT NULL,
`origin_doc_path` longtext NOT NULL,
`origin_file_version` varchar(100) NOT NULL,
`publish_file_version` varchar(100) DEFAULT NULL,
`username` varchar(255) NOT NULL,
`publisher` varchar(255) DEFAULT NULL,
`is_published` tinyint(1) NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`is_published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `sdoc_revise_doc_uuid` (`doc_uuid`),
KEY `sdoc_revision_repo_id` (`repo_id`),