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';