mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 19:05:16 +00:00
12.0.2 sql (#6948)
This commit is contained in:
parent
2f13b4cfa7
commit
c5d721644d
@ -73,6 +73,19 @@ CREATE TABLE IF NOT EXISTS `sdoc_operation_log` (
|
||||
KEY `sdoc_idx_operation_log_doc_uuid_op_id` (`doc_uuid`,`op_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `wiki_wiki2_publish` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`repo_id` varchar(36) NOT NULL,
|
||||
`publish_url` varchar(40) DEFAULT NULL,
|
||||
`username` varchar(255) NOT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
`visit_count` int(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `repo_id` (`repo_id`),
|
||||
UNIQUE KEY `publish_url` (`publish_url`),
|
||||
KEY `ix_wiki2_publish_repo_id` (`repo_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
ALTER TABLE share_fileshare ADD COLUMN IF NOT EXISTS `user_scope` varchar(225) DEFAULT 'all_users';
|
||||
ALTER TABLE share_fileshare ADD COLUMN IF NOT EXISTS `authed_details` LONGTEXT DEFAULT NULL;
|
||||
|
||||
|
@ -1558,7 +1558,7 @@ CREATE TABLE `sdoc_operation_log` (
|
||||
KEY `sdoc_idx_operation_log_doc_uuid_op_id` (`doc_uuid`,`op_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `wiki_wiki2_publish` (
|
||||
CREATE TABLE `wiki_wiki2_publish` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`repo_id` varchar(36) NOT NULL,
|
||||
`publish_url` varchar(40) DEFAULT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user