Files
be.ems/build/database/lite/install/kpi_c_report_smsc.sql
2025-05-22 18:21:04 +08:00

31 lines
788 B
SQL

-- ----------------------------
-- Table structure for kpi_c_report_smsc
-- ----------------------------
DROP TABLE IF EXISTS "kpi_c_report_smsc";
CREATE TABLE "kpi_c_report_smsc" (
"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_smsc
-- ----------------------------
CREATE INDEX "idx_c_smsc_uid_at"
ON "kpi_c_report_smsc" (
"rm_uid" ASC,
"created_at" ASC
);
-- ----------------------------
-- Records of kpi_c_report_smsc
-- ----------------------------