perf: 构建工具调整
This commit is contained in:
27
build/database/lite/install/cdr_event.sql
Normal file
27
build/database/lite/install/cdr_event.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- ----------------------------
|
||||
-- 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
|
||||
-- ----------------------------
|
||||
Reference in New Issue
Block a user