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
557 B
25 lines
557 B
1 year ago
|
CREATE SEQUENCE "public"."resource_table_role_seq"
|
||
|
INCREMENT 1
|
||
|
MINVALUE 1
|
||
|
MAXVALUE 9223372036854775807
|
||
|
START 1
|
||
|
CACHE 1;
|
||
|
|
||
|
|
||
|
|
||
|
CREATE TABLE "public"."role" (
|
||
|
"id" int4 NOT NULL DEFAULT nextval('resource_table_role_seq'::regclass),
|
||
|
"name" varchar(255) COLLATE "pg_catalog"."default",
|
||
|
"data_range" int4,
|
||
|
"delete" bool NOT NULL,
|
||
|
PRIMARY KEY ("id")
|
||
|
)
|
||
|
;
|
||
|
|
||
|
|
||
|
COMMENT ON COLUMN "public"."role"."name" IS '角色名称';
|
||
|
|
||
|
COMMENT ON COLUMN "public"."role"."data_range" IS '1全公司2本部门';
|
||
|
|
||
|
COMMENT ON COLUMN "public"."role"."delete" IS '收否删除';
|