From 3c7e55c2cc64af905266753b44247c50acd11df1 Mon Sep 17 00:00:00 2001 From: zhouxiunai <154707516@qq.com> Date: Tue, 8 Jan 2019 15:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=98=E5=82=A8=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E4=B8=BAinnodb=20=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=B4=A2?= =?UTF-8?q?=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/db/migration/CMINMSGS.sql | 4 +++- src/main/resources/db/migration/COUTMSGS.sql | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/db/migration/CMINMSGS.sql b/src/main/resources/db/migration/CMINMSGS.sql index a4c6ec33..a186df1e 100644 --- a/src/main/resources/db/migration/CMINMSGS.sql +++ b/src/main/resources/db/migration/CMINMSGS.sql @@ -10,4 +10,6 @@ CREATE TABLE CMINMSGS CMINMSGS_SUBSYSTEM_SUBTYPE VARCHAR(4), CMINMSGS_SUBSYSTEM_TYPE VARCHAR(4), CMINMSGS_STATUS VARCHAR(20) - ); \ No newline at end of file + )ENGINE=InnoDB DEFAULT CHARSET=utf8 ; + + ALTER TABLE `CMINMSGS` ADD INDEX index_cminmsgs_date_processed ( `CMINMSGS_DATE_PROCESSED` ); \ No newline at end of file diff --git a/src/main/resources/db/migration/COUTMSGS.sql b/src/main/resources/db/migration/COUTMSGS.sql index adcf5322..7551c0f3 100644 --- a/src/main/resources/db/migration/COUTMSGS.sql +++ b/src/main/resources/db/migration/COUTMSGS.sql @@ -15,4 +15,4 @@ CREATE TABLE COUTMSGS COUTMSGS_ACK_DATE_RECV datetime(0), COUTMSGS_ENCRYPT int(1) default 0 not null, COUTMSGS_ERROR int(1) default 0 not null - ); \ No newline at end of file + ) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file