Files
be.ems/build/database/lite/install/cdr_event_ims.sql
2025-03-19 17:42:31 +08:00

28 lines
648 B
SQL

-- ----------------------------
-- Table structure for cdr_event_ims
-- ----------------------------
DROP TABLE IF EXISTS "cdr_event_ims";
CREATE TABLE "cdr_event_ims" (
"id" integer NOT NULL,
"ne_type" text(32),
"ne_name" text(64),
"rm_uid" text(32),
"timestamp" integer(20),
"cdr_json" text,
"created_at" integer(20),
PRIMARY KEY ("id")
);
-- ----------------------------
-- Indexes structure for table cdr_event_ims
-- ----------------------------
CREATE INDEX "idx_ims_uid_t"
ON "cdr_event_ims" (
"rm_uid" ASC,
"timestamp" ASC
);
-- ----------------------------
-- Records of cdr_event_ims
-- ----------------------------