ALTER TABLE "mailbox"."police_user"
    ADD COLUMN "dispatched_inspectors_flag" bool default false;

COMMENT ON COLUMN "mailbox"."police_user"."dispatched_inspectors_flag" IS '是否是派驻督察人员';



ALTER TABLE "mailbox"."mail"
    ADD COLUMN "dispatched_inspectors" varchar;
COMMENT ON COLUMN "mailbox"."mail"."dispatched_inspectors" IS '派驻督察人员';

ALTER TABLE "mailbox"."mail"
    ADD COLUMN "dispatched_inspector_emp_no" varchar;
COMMENT ON COLUMN "mailbox"."mail"."dispatched_inspector_emp_no" IS '派驻督察人员-警号';

CREATE TABLE "mailbox"."mail_blame" (
    "id" serial4 PRIMARY KEY,
    "mail_id" "varchar" NOT NULL,
    "dept_id" "int",
    "blame_name" "varchar",
    "blame_emp_no" "varchar",
    "blame_id_code" "varchar",
    "verify_problem" "text",
    "verify_punish" "text",
    "create_time" "datetime"
);

COMMENT ON COLUMN "mailbox"."mail_blame"."verify_problem" IS '查证属实问题';
COMMENT ON COLUMN "mailbox"."mail_blame"."verify_punish" IS '责任追究';