mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
SeadocCommentReply (#5562)
* SeadocCommentReply * rm element_id * reply type * update replies * replies user_to_dict
This commit is contained in:
@@ -1420,3 +1420,17 @@ CREATE TABLE `sdoc_revision` (
|
||||
KEY `sdoc_revision_username` (`username`),
|
||||
KEY `sdoc_revision_is_published` (`is_published`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE `sdoc_comment_reply` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`author` varchar(255) NOT NULL,
|
||||
`reply` longtext NOT NULL,
|
||||
`type` varchar(36) NOT NULL,
|
||||
`comment_id` int(11) NOT NULL,
|
||||
`doc_uuid` varchar(36) NOT NULL,
|
||||
`created_at` datetime(6) NOT NULL DEFAULT current_timestamp(6),
|
||||
`updated_at` datetime(6) NOT NULL DEFAULT current_timestamp(6) ON UPDATE current_timestamp(6),
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `sdoc_comment_reply_comment_id` (`comment_id`),
|
||||
KEY `sdoc_comment_reply_doc_uuid` (`doc_uuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
Reference in New Issue
Block a user