mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-27 10:54:21 +08:00
(improvement)(semantic) save metric default query config (#503)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -116,4 +116,28 @@ CREATE TABLE s2_model_rela
|
||||
);
|
||||
|
||||
alter table s2_view_info change model_id domain_id bigint;
|
||||
alter table s2_dimension drop column datasource_id;
|
||||
alter table s2_dimension drop column datasource_id;
|
||||
|
||||
-- 20231211
|
||||
CREATE TABLE `s2_collect`
|
||||
(
|
||||
`id` bigint NOT NULL primary key AUTO_INCREMENT,
|
||||
`type` varchar(20) NOT NULL,
|
||||
`username` varchar(20) NOT NULL,
|
||||
`collect_id` bigint NOT NULL,
|
||||
`create_time` datetime,
|
||||
`update_time` datetime,
|
||||
PRIMARY KEY (`id`)
|
||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE `s2_metric_query_default_config`
|
||||
(
|
||||
`id` bigint NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
`metric_id` bigint,
|
||||
`user_name` varchar(255) NOT NULL,
|
||||
`default_config` varchar(1000) NOT NULL,
|
||||
`created_at` datetime null,
|
||||
`updated_at` datetime null,
|
||||
`created_by` varchar(100) null,
|
||||
`updated_by` varchar(100) null
|
||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user