局长信箱-后台服务
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.
 
 
 
 

23 lines
529 B

CREATE TABLE 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 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 "sms_send"
ADD COLUMN "satisfaction_sms" varchar(255);
CREATE SEQUENCE mail_id_seq;