CREATE SEQUENCE "public"."resource_table_user_role_seq" INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1; CREATE TABLE "public"."user_role" ( "id" int4 NOT NULL DEFAULT nextval('resource_table_user_role_seq'::regclass), "role_id" int4, "user_id" int4, PRIMARY KEY ("id") ) ; COMMENT ON COLUMN "public"."user_role"."role_id" IS '角色id'; COMMENT ON COLUMN "public"."user_role"."user_id" IS '用户id';