mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-10 17:04:33 +08:00
fix: short index keys
This commit is contained in:
parent
ec4c0310bc
commit
88bf7ab3ac
2 changed files with 2 additions and 2 deletions
|
@ -366,7 +366,7 @@
|
|||
<field name="locale" type="string" max-length="10" nullable="false" description="Locale"/>
|
||||
<field name="name" type="string" max-length="500" nullable="false" description="语言名"/>
|
||||
<field name="value" type="string" max-length="500" nullable="false" description="语言值"/>
|
||||
<index field-list="locale,name"/>
|
||||
<index field-list="locale"/>
|
||||
</entity>
|
||||
|
||||
<entity name="TransformConfig" type-code="037" description="记录转换" queryable="false">
|
||||
|
|
|
@ -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 ************
|
||||
|
|
Loading…
Reference in a new issue