-- ----------------------------
-- Table structure for cdr_event
-- ----------------------------
DROP TABLE IF EXISTS "cdr_event";
CREATE TABLE "cdr_event" (
  "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
-- ----------------------------
CREATE INDEX "idx_uid_t"
ON "cdr_event" (
  "rm_uid" ASC,
  "timestamp" ASC
);

-- ----------------------------
-- Records of cdr_event
-- ----------------------------