Tag market (#835)

This commit is contained in:
daikon
2024-03-20 11:35:47 +08:00
committed by GitHub
parent 6a403c6179
commit 69a76ffc04
14 changed files with 81 additions and 101 deletions

View File

@@ -580,7 +580,7 @@ CREATE TABLE IF NOT EXISTS `s2_data_set` (
CREATE TABLE IF NOT EXISTS `s2_tag` (
`id` INT NOT NULL AUTO_INCREMENT,
`item_id` INT NOT NULL ,
`type` varchar(50) NOT NULL ,
`type` varchar(50) NOT NULL , -- METRIC DIMENSION
`created_at` TIMESTAMP NOT NULL ,
`created_by` varchar(100) NOT NULL ,
`updated_at` TIMESTAMP DEFAULT NULL ,
@@ -595,8 +595,8 @@ CREATE TABLE IF NOT EXISTS `s2_tag_object` (
`name` varchar(255) NOT NULL ,
`biz_name` varchar(255) NOT NULL ,
`description` varchar(500) DEFAULT NULL ,
`status` INT NOT NULL ,
`sensitive_level` INT NOT NULL ,
`status` INT NOT NULL DEFAULT '1' ,
`sensitive_level` INT NOT NULL DEFAULT '1' ,
`created_at` TIMESTAMP NOT NULL ,
`created_by` varchar(100) NOT NULL ,
`updated_at` TIMESTAMP DEFAULT NULL ,