diff --git a/db/ddl.sql b/db/ddl.sql index 7a9701b..f85dcab 100644 --- a/db/ddl.sql +++ b/db/ddl.sql @@ -168,7 +168,7 @@ ALTER TABLE ENS_INTGRN_SND_DTL ADD J_ACPT_DOC_KKO_TALK CLOB; CREATE TABLE TB_NICE_SMS_SNDNG_INQIRE_REPTI ( - NICE_SMS_SNDNG_INQIRE_ID CHAR(12) NOT NULL , + NICE_SMS_SNDNG_INQIRE_ID CHAR(10) NOT NULL , SN NUMBER(2) NOT NULL , INQIRE_DT VARCHAR2(20) NULL , INDVDL_BSNM_CPR_SE VARCHAR2(1) NULL , @@ -200,7 +200,7 @@ ALTER TABLE TB_NICE_SMS_SNDNG_INQIRE_REPTI CREATE TABLE TB_NICE_SMS_SNDNG_INQIRE_REQUS ( - NICE_SMS_SNDNG_INQIRE_ID CHAR(12) NOT NULL , + NICE_SMS_SNDNG_INQIRE_ID CHAR(10) NOT NULL , TRNSC_ID VARCHAR2(9) NULL , SPCLTY_GROUPCODE VARCHAR2(9) NULL , DELNG_ASORTCODE NUMBER(4) NULL , @@ -235,7 +235,7 @@ ALTER TABLE TB_NICE_SMS_SNDNG_INQIRE_REQUS CREATE TABLE TB_NICE_SMS_SNDNG_INQIRE_RSPNS ( - NICE_SMS_SNDNG_INQIRE_ID CHAR(12) NOT NULL , + NICE_SMS_SNDNG_INQIRE_ID CHAR(10) NOT NULL , TRNSC_ID VARCHAR2(9) NULL , SPCLTY_GROUPCODE VARCHAR2(9) NULL , DELNG_ASORTCODE NUMBER(4) NULL , @@ -264,7 +264,7 @@ ALTER TABLE TB_NICE_SMS_SNDNG_INQIRE_RSPNS CREATE TABLE TB_NICE_SMS_SNDNG_REQUST ( - NICE_SMS_SNDNG_REQUST_ID CHAR(12) NOT NULL , + NICE_SMS_SNDNG_REQUST_ID CHAR(10) NOT NULL , DATA_ID VARCHAR2(30) NULL , TRNSC_ID VARCHAR2(9) NULL , SPCLTY_GROUPCODE VARCHAR2(9) NULL , @@ -310,7 +310,7 @@ ALTER TABLE TB_NICE_SMS_SNDNG_REQUST CREATE TABLE TB_NICE_SMS_SNDNG_RSPNS ( - NICE_SMS_SNDNG_REQUST_ID CHAR(12) NOT NULL , + NICE_SMS_SNDNG_REQUST_ID CHAR(10) NOT NULL , TRNSC_ID VARCHAR2(9) NULL , SPCLTY_GROUPCODE VARCHAR2(9) NULL , DELNG_ASORTCODE NUMBER(4) NULL , @@ -496,9 +496,9 @@ COMMENT ON TABLE TB_NICE_SMS_SNDNG_RSPNS IS 'NICE SMS 발송 응답'; COMMENT ON COLUMN TB_NICE_SMS_SNDNG_RSPNS.CREAT_DT IS '생성_일시'; COMMENT ON COLUMN TB_NICE_SMS_SNDNG_RSPNS.CRTR IS '생성자'; -CREATE SEQUENCE SEQ_NICE_SMS_SNDNG_REQUST_ID START WITH 1 INCREMENT BY 1 MAXVALUE 999999999999 MINVALUE 1 NOCYCLE; +CREATE SEQUENCE SEQ_NICE_SMS_SNDNG_REQUST_ID START WITH 1 INCREMENT BY 1 MAXVALUE 9999999999 MINVALUE 1 NOCYCLE; -CREATE SEQUENCE SEQ_NICE_SMS_SNDNG_INQIRE_ID START WITH 1 INCREMENT BY 1 MAXVALUE 999999999999 MINVALUE 1 NOCYCLE; +CREATE SEQUENCE SEQ_NICE_SMS_SNDNG_INQIRE_ID START WITH 1 INCREMENT BY 1 MAXVALUE 9999999999 MINVALUE 1 NOCYCLE; -- 나이스 알림톡 템플릿 코드 컬럼 추가