perf: 构建工具调整
This commit is contained in:
32
build/database/lite/install/ne_state.sql
Normal file
32
build/database/lite/install/ne_state.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
-- ----------------------------
|
||||
-- Table structure for ne_state
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS "ne_state";
|
||||
CREATE TABLE "ne_state" (
|
||||
"id" integer NOT NULL,
|
||||
"ne_type" text(16),
|
||||
"ne_id" text(32),
|
||||
"version" text(16),
|
||||
"capability" text(64),
|
||||
"serial_num" text(16),
|
||||
"expiry_date" text(10),
|
||||
"cpu_usage" text,
|
||||
"mem_usage" text,
|
||||
"disk_space" text,
|
||||
"timestamp" integer(20),
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- ----------------------------
|
||||
-- Indexes structure for table ne_state
|
||||
-- ----------------------------
|
||||
CREATE INDEX "idx_type_id_time"
|
||||
ON "ne_state" (
|
||||
"ne_type" ASC,
|
||||
"ne_id" ASC,
|
||||
"timestamp" ASC
|
||||
);
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of ne_state
|
||||
-- ----------------------------
|
||||
Reference in New Issue
Block a user