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.
14 lines
414 B
14 lines
414 B
ALTER TABLE "mailbox"."police_user" |
|
ADD COLUMN "data_dept_id" int; |
|
|
|
COMMENT ON COLUMN "mailbox"."police_user"."data_dept_id" IS '数据部门ID'; |
|
|
|
update police_user set data_dept_id = dept_ids where data_dept_id is null; |
|
|
|
ALTER TABLE "mailbox"."notice" |
|
ADD COLUMN "dept_id" int4; |
|
|
|
COMMENT ON COLUMN "mailbox"."notice"."dept_id" IS '部门ID'; |
|
|
|
ALTER TABLE "mailbox"."notice" |
|
ADD COLUMN "work_id" int8; |