27 lines
654 B
SQL
27 lines
654 B
SQL
-- ----------------------------
|
|
-- Table structure for cdr_event_sgwc
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "cdr_event_sgwc";
|
|
CREATE TABLE "cdr_event_sgwc" (
|
|
"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_sgwc
|
|
-- ----------------------------
|
|
CREATE INDEX "idx_sgwc_uid_t"
|
|
ON "cdr_event_sgwc" (
|
|
"rm_uid" ASC,
|
|
"timestamp" ASC
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of cdr_event_sgwc
|
|
-- ---------------------------- |