From 88bf7ab3ac0114e8e65e3d42a9bcf2eeaa5399a3 Mon Sep 17 00:00:00 2001 From: Zixin <42044143+getrebuild@users.noreply.github.com> Date: Wed, 23 Feb 2022 23:16:55 +0800 Subject: [PATCH] fix: short index keys --- src/main/resources/metadata-conf.xml | 2 +- src/main/resources/scripts/db-init.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/metadata-conf.xml b/src/main/resources/metadata-conf.xml index d551c7b9b..eee2ea16f 100644 --- a/src/main/resources/metadata-conf.xml +++ b/src/main/resources/metadata-conf.xml @@ -366,7 +366,7 @@ - + diff --git a/src/main/resources/scripts/db-init.sql b/src/main/resources/scripts/db-init.sql index 66cb36b63..c2a3f0e01 100644 --- a/src/main/resources/scripts/db-init.sql +++ b/src/main/resources/scripts/db-init.sql @@ -533,7 +533,7 @@ create table if not exists `language` ( `NAME` varchar(500) not null comment '语言名', `VALUE` varchar(500) not null comment '语言值', primary key (`LANG_ID`), - index IX0_language (`LOCALE`, `NAME`) + index IX0_language (`LOCALE`) )Engine=InnoDB; -- ************ Entity [TransformConfig] DDL ************