perf: 构建工具调整
This commit is contained in:
33
build/database/lite/install/nb_state.sql
Normal file
33
build/database/lite/install/nb_state.sql
Normal file
@@ -0,0 +1,33 @@
|
||||
-- ----------------------------
|
||||
-- Table structure for nb_state
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS "nb_state";
|
||||
CREATE TABLE "nb_state" (
|
||||
"id" integer NOT NULL,
|
||||
"ne_type" text(32) NOT NULL,
|
||||
"ne_id" text(32) NOT NULL,
|
||||
"rm_uid" text(128),
|
||||
"create_time" integer(20),
|
||||
"address" text(255),
|
||||
"name" text(64),
|
||||
"position" text(64),
|
||||
"nb_name" text(128),
|
||||
"state" text(12),
|
||||
"time" text(64),
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- ----------------------------
|
||||
-- Indexes structure for table nb_state
|
||||
-- ----------------------------
|
||||
CREATE UNIQUE INDEX "uk_state_type_id_uid_cat"
|
||||
ON "nb_state" (
|
||||
"ne_type" ASC,
|
||||
"ne_id" ASC,
|
||||
"rm_uid" ASC,
|
||||
"create_time" ASC
|
||||
);
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of nb_state
|
||||
-- ----------------------------
|
||||
Reference in New Issue
Block a user