fix: 补充升级缺失的数据库

This commit is contained in:
TsMask
2025-05-20 11:29:13 +08:00
parent c836be5fea
commit f011fb5153
11 changed files with 288 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
-- ----------------------------
-- Table structure for kpi_c_report_pcf
-- ----------------------------
DROP TABLE IF EXISTS "kpi_c_report_pcf";
CREATE TABLE "kpi_c_report_pcf" (
"id" integer NOT NULL,
"ne_type" text(16),
"ne_name" text(64),
"rm_uid" text(64),
"date" text(10) NOT NULL,
"start_time" text(10),
"end_time" text(10),
"index" integer(11) NOT NULL,
"granularity" integer(11),
"kpi_values" text,
"created_at" integer(20),
PRIMARY KEY ("id")
);
-- ----------------------------
-- Indexes structure for table kpi_c_report_pcf
-- ----------------------------
CREATE INDEX "idx_c_pcf_uid_at"
ON "kpi_c_report_pcf" (
"rm_uid" ASC,
"created_at" ASC
);
-- ----------------------------
-- Records of kpi_c_report_pcf
-- ----------------------------