Commit bd02ea1e authored by 吴文龙's avatar 吴文龙

up

parent 09650370
...@@ -122,3 +122,59 @@ COMMENT ON TABLE "public"."hs_db_conf" IS '租户同步数据到对应数据库 ...@@ -122,3 +122,59 @@ COMMENT ON TABLE "public"."hs_db_conf" IS '租户同步数据到对应数据库
-- ---------------------------- -- ----------------------------
ALTER TABLE "public"."hs_db_conf" ADD CONSTRAINT "hs_device_syn_conf_copy1_pkey" PRIMARY KEY ("id"); ALTER TABLE "public"."hs_db_conf" ADD CONSTRAINT "hs_device_syn_conf_copy1_pkey" PRIMARY KEY ("id");
-- ----------------------------
-- Table structure for hs_board_manage
-- ----------------------------
DROP TABLE IF EXISTS "public"."hs_board_manage";
CREATE TABLE "public"."hs_board_manage" (
"id" uuid NOT NULL,
"name" varchar(255) COLLATE "pg_catalog"."default",
"url" varchar(255) COLLATE "pg_catalog"."default",
"images" varchar(10000000) COLLATE "pg_catalog"."default",
"created_time" int8,
"created_user" uuid,
"tenant_id" uuid,
"updated_time" int8,
"updated_user" uuid,
"sort" int4 DEFAULT 0
)
;
ALTER TABLE "public"."hs_board_manage" OWNER TO "postgres";
COMMENT ON COLUMN "public"."hs_board_manage"."name" IS '看板名称';
COMMENT ON COLUMN "public"."hs_board_manage"."url" IS '看板地址';
COMMENT ON COLUMN "public"."hs_board_manage"."images" IS '看板缩略图';
COMMENT ON COLUMN "public"."hs_board_manage"."sort" IS '排序值';
COMMENT ON TABLE "public"."hs_board_manage" IS '看板配置管理';
-- ----------------------------
-- Table structure for hs_board_manage_role
-- ----------------------------
DROP TABLE IF EXISTS "public"."hs_board_manage_role";
CREATE TABLE "public"."hs_board_manage_role" (
"id" uuid NOT NULL,
"board_id" uuid,
"role_id" uuid,
"images" varchar(10000000) COLLATE "pg_catalog"."default",
"created_time" int8,
"created_user" uuid,
"tenant_id" uuid,
"updated_time" int8,
"updated_user" uuid
)
;
ALTER TABLE "public"."hs_board_manage_role" OWNER TO "postgres";
COMMENT ON COLUMN "public"."hs_board_manage_role"."id" IS '主键';
COMMENT ON COLUMN "public"."hs_board_manage_role"."board_id" IS '看板标识';
COMMENT ON COLUMN "public"."hs_board_manage_role"."role_id" IS '角色标识';
COMMENT ON COLUMN "public"."hs_board_manage_role"."images" IS '看板缩略图';
COMMENT ON TABLE "public"."hs_board_manage_role" IS '看板角色关系';
-- ----------------------------
-- Primary Key structure for table hs_board_manage
-- ----------------------------
ALTER TABLE "public"."hs_board_manage" ADD CONSTRAINT "hs_board_manage_pkey" PRIMARY KEY ("id");
-- ----------------------------
-- Primary Key structure for table hs_board_manage_role
-- ----------------------------
ALTER TABLE "public"."hs_board_manage_role" ADD CONSTRAINT "hs_board_manage_copy1_pkey" PRIMARY KEY ("id");
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment