CREATE TABLE "mailbox-outer".sms_send (
     id SERIAL NOT NULL,
     mail_id VARCHAR(40) NOT NULL,
     phone VARCHAR(40) NOT NULL,
     sms_seq VARCHAR(4) NOT NULL,
     create_time TIMESTAMP NOT NULL,
     PRIMARY KEY (id)
);


CREATE TABLE "mailbox-outer".mail_sms_evaluate_etl (
      id SERIAL NOT NULL,
      mail_id VARCHAR(40) NOT NULL,
      success bool NOT NULL,
      create_time TIMESTAMP NOT NULL,
      err_msg text,
      PRIMARY KEY (id)
);

ALTER TABLE "mailbox-outer"."sms_send"
    ADD COLUMN "satisfaction_sms" varchar(255);
