mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-26 10:14:19 +08:00
(improvement)(Headless) Put term into dict and let it can be mapped by mapper (#1002)
This commit is contained in:
@@ -627,14 +627,16 @@ CREATE TABLE IF NOT EXISTS `s2_query_rule` (
|
||||
);
|
||||
COMMENT ON TABLE s2_query_rule IS 'tag query rule table';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_term_set` (
|
||||
CREATE TABLE IF NOT EXISTS `s2_term` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`domain_id` INT ,
|
||||
`terms` varchar(1000),
|
||||
`name` varchar(255) NOT NULL ,
|
||||
`description` varchar(500) DEFAULT NULL ,
|
||||
`alias` varchar(1000) NOT NULL ,
|
||||
`created_at` TIMESTAMP NOT NULL ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`updated_at` TIMESTAMP DEFAULT NULL ,
|
||||
`updated_by` varchar(100) DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_term_set IS 'term info';
|
||||
COMMENT ON TABLE s2_term IS 'term info';
|
||||
Reference in New Issue
Block a user