Files
be.ems/build/database/lite/upgrade/upg_kpi_report_nrf.sql

30 lines
756 B
SQL

-- ----------------------------
-- Table structure for kpi_report_nrf
-- ----------------------------
CREATE TABLE IF NOT EXISTS "kpi_report_nrf" (
"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_report_nrf
-- ----------------------------
CREATE INDEX IF NOT EXISTS "idx_nrf_uid_at"
ON "kpi_report_nrf" (
"rm_uid" ASC,
"created_at" ASC
);
-- ----------------------------
-- Records of kpi_report_nrf
-- ----------------------------