This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ CREATE TABLE IF NOT EXISTS `tracker_trend` (
72
72
` config_item_id` bigint (20 ),
73
73
` test_dataset_id` bigint (20 ),
74
74
` truth_dataset_id` bigint (20 ),
75
+ ` key_metric` tinyint (4 ) NOT NULL DEFAULT ' 0' ,
75
76
PRIMARY KEY (` trend_id` ),
76
77
KEY (` producer_id` )
77
78
) DEFAULT CHARSET= utf8;
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ CREATE TABLE IF NOT EXISTS "tracker_trend" (
75
75
" unit" character varying (255 ) NOT NULL ,
76
76
" config_item_id" bigint ,
77
77
" test_dataset_id" bigint ,
78
- " truth_dataset_id" bigint
78
+ " truth_dataset_id" bigint ,
79
+ " key_metric" smallint NOT NULL DEFAULT 0 ::smallint
79
80
);
80
81
81
82
CREATE INDEX "tracker_trend_producer_id " ON " tracker_trend" (" producer_id" );
Original file line number Diff line number Diff line change 1
1
-- Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
2
2
3
- -- SQLite database for the tracker module, version 1.2.0
3
+ -- SQLite database for the tracker module, version 1.2.2
4
4
5
5
CREATE TABLE IF NOT EXISTS " tracker_producer" (
6
6
" producer_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL ,
@@ -74,7 +74,8 @@ CREATE TABLE IF NOT EXISTS "tracker_trend" (
74
74
" unit" TEXT NOT NULL ,
75
75
" config_item_id" INTEGER ,
76
76
" test_dataset_id" INTEGER ,
77
- " truth_dataset_id" INTEGER
77
+ " truth_dataset_id" INTEGER ,
78
+ " key_metric" INTEGER NOT NULL DEFAULT 0
78
79
);
79
80
80
81
CREATE INDEX IF NOT EXISTS " tracker_trend_producer_id_idx" ON " tracker_trend" (" producer_id" );
You can’t perform that action at this time.
0 commit comments