ALTER TABLE report RENAME TO mail_110; ALTER TABLE mail_report_mapping RENAME TO mail_110_mapping; ALTER TABLE reportlog RENAME TO mail_110_log; CREATE TABLE "mailbox"."report" ( "id" "pg_catalog"."int4" NOT NULL DEFAULT nextval('"mailbox".report_id_seq1'::regclass), "create_time" "pg_catalog"."timestamp", "report_type" "pg_catalog"."varchar" COLLATE "pg_catalog"."default", "statistical_time" "pg_catalog"."varchar" COLLATE "pg_catalog"."default", "operator" "pg_catalog"."varchar" COLLATE "pg_catalog"."default", "operator_emp_no" "pg_catalog"."varchar" COLLATE "pg_catalog"."default", "state" "pg_catalog"."int2", "err_msg" "pg_catalog"."text" COLLATE "pg_catalog"."default", CONSTRAINT "report_pkey" PRIMARY KEY ("id") ) WITH (fillfactor=80) ; ALTER TABLE "mailbox"."report" OWNER TO "mailbox"; COMMENT ON COLUMN "mailbox"."report"."create_time" IS '创建时间'; COMMENT ON COLUMN "mailbox"."report"."report_type" IS '报告类型'; COMMENT ON COLUMN "mailbox"."report"."statistical_time" IS '统计时间'; COMMENT ON COLUMN "mailbox"."report"."operator" IS '操作人'; COMMENT ON COLUMN "mailbox"."report"."operator_emp_no" IS '操作人警号'; COMMENT ON COLUMN "mailbox"."report"."state" IS '状态 0-生成中 1-成功 -1-失败';