Archer_cdm
2 years ago
2 changed files with 29 additions and 1 deletions
@ -0,0 +1,23 @@ |
|||
-- ---------------------------- |
|||
-- Table structure for vacate_remark |
|||
-- ---------------------------- |
|||
|
|||
-- ---------------------------- |
|||
-- 创建 vacate_remark 表自增序列 |
|||
-- ---------------------------- |
|||
CREATE SEQUENCE "public"."vacate_remark_id_seq" |
|||
INCREMENT 1 |
|||
MINVALUE 1 |
|||
MAXVALUE 9223372036854775807 |
|||
START 1 |
|||
CACHE 1; |
|||
|
|||
DROP TABLE IF EXISTS "public"."vacate_remark"; |
|||
CREATE TABLE "public"."vacate_remark" ( |
|||
"id" int4 NOT NULL DEFAULT nextval('vacate_remark_id_seq'::regclass), |
|||
"pep_user_id" int4 NOT NULL, |
|||
"remark" text COLLATE "pg_catalog"."default" |
|||
) |
|||
; |
|||
COMMENT ON COLUMN "public"."vacate_remark"."pep_user_id" IS 'pep用户id'; |
|||
COMMENT ON COLUMN "public"."vacate_remark"."remark" IS '备注'; |
Loading…
Reference in new issue