ALTER TABLE "mailbox"."system_log_login" ADD COLUMN "device" varchar(255) DEFAULT 'PC'; COMMENT ON COLUMN "mailbox"."system_log_login"."device" IS '设备'; -- update mail_source set mail_id = id where sign_flag = true;