人力资源
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
519 B

CREATE SEQUENCE "public"."resource_table_role_resource_seq"
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
CREATE TABLE "public"."role_resource" (
"id" int4 NOT NULL DEFAULT nextval('resource_table_role_resource_seq'::regclass),
"role_id" int4,
"res_id" int4,
PRIMARY KEY ("id")
)
;
ALTER TABLE "public"."role_resource"
OWNER TO "postgres";
COMMENT ON COLUMN "public"."role_resource"."role_id" IS '角色id';
COMMENT ON COLUMN "public"."role_resource"."res_id" IS '权限id';