mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
[improvement](headless) add batchUpdateStatus and opt deleteCollectionIndicators (#779)
This commit is contained in:
@@ -212,4 +212,33 @@ CREATE TABLE s2_tag(
|
||||
`updated_by` varchar(100) DEFAULT NULL ,
|
||||
`ext` LONGVARCHAR DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--20240301
|
||||
CREATE TABLE IF NOT EXISTS `s2_dictionary_conf` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`description` varchar(255) ,
|
||||
`type` varchar(255) NOT NULL ,
|
||||
`item_id` INT NOT NULL ,
|
||||
`config` text ,
|
||||
`status` varchar(255) NOT NULL ,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_dictionary_conf IS 'dictionary conf information table';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_dictionary_task` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL ,
|
||||
`description` varchar(255) ,
|
||||
`type` varchar(255) NOT NULL ,
|
||||
`item_id` INT NOT NULL ,
|
||||
`config` text ,
|
||||
`status` varchar(255) NOT NULL ,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`elapsed_ms` bigINT DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_dictionary_task IS 'dictionary task information table';
|
||||
|
||||
@@ -205,29 +205,28 @@ CREATE TABLE IF NOT EXISTS `s2_dictionary_conf` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`description` varchar(255) ,
|
||||
`type` varchar(255) NOT NULL ,
|
||||
`item_id` INT NOT NULL , -- task Request Parameters md5
|
||||
`config` mediumtext , -- remark related information
|
||||
`status` varchar(255) NOT NULL , -- the final status of the task
|
||||
`item_id` INT NOT NULL ,
|
||||
`config` mediumtext ,
|
||||
`status` varchar(255) NOT NULL ,
|
||||
`created_at` datetime NOT NULL COMMENT '创建时间' ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_dictionary_conf IS '字典配置信息表';
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='字典配置信息表';
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_dictionary_task` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL , -- task name
|
||||
`name` varchar(255) NOT NULL ,
|
||||
`description` varchar(255) ,
|
||||
`type` varchar(255) NOT NULL ,
|
||||
`item_id` INT NOT NULL , -- task Request Parameters md5
|
||||
`config` mediumtext , -- remark related information
|
||||
`status` varchar(255) NOT NULL , -- the final status of the task
|
||||
`item_id` INT NOT NULL ,
|
||||
`config` mediumtext ,
|
||||
`status` varchar(255) NOT NULL ,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`elapsed_ms` int(10) DEFAULT NULL , -- the task takes time in milliseconds
|
||||
`elapsed_ms` int(10) DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_dictionary_task IS 'dictionary task information table';
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='字典运行任务表';
|
||||
|
||||
|
||||
CREATE TABLE `s2_dimension` (
|
||||
|
||||
Reference in New Issue
Block a user