Files
msgexchange-api/src/main/resources/db/migration/COUTMSGS.sql
T

18 lines
842 B
SQL

CREATE TABLE COUTMSGS
(
COUTMSGS_ID int(23) not null AUTO_INCREMENT PRIMARY KEY,
COUTMSGS_CLOB_MSG LONGTEXT,
COUTMSGS_DATE_INSERTED datetime(0) DEFAULT current_timestamp() not null,
COUTMSGS_DATE_SENT datetime(0),
ROUTINGID VARCHAR(23) not null,
COUTMSGS_TRUEFALS_GROUP int(1) default 0 not null,
COUTMSGS_NO_MESSAGES int(2),
COUTMSGS_GROUP_ORDER int(2),
COUTMSGS_GROUP_ID int(6),
COUTMSGS_FINAL_GROUP_IND int(1) default 0 not null,
COUTMSGS_ACK_REQD int(1) default 0 not null,
COUTMSGS_ACK_RESEND_TIMES int(4) default 0 not null,
COUTMSGS_ACK_DATE_RECV datetime(0),
COUTMSGS_ENCRYPT int(1) default 0 not null,
COUTMSGS_ERROR int(1) default 0 not null
) ENGINE=InnoDB DEFAULT CHARSET=utf8;