Merged in bugfix/HOR-2871 (pull request #5536)

HOR-2871

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
dheeyi william
2017-03-15 21:12:30 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 5 additions and 1 deletions

View File

@@ -612,6 +612,9 @@
<rule name="maxLength" value="32" message="User UID can be no larger than ${value} in size"/>
<rule name="required" message="User UID is required."/>
</validator>
<index name="indexForUsrUid">
<index-column name="USR_UID"/>
</index>
</table>
<table name="HOLIDAY" idMethod="native">
<vendor type="mysql">

View File

@@ -282,7 +282,8 @@ CREATE TABLE `GROUP_USER`
(
`GRP_UID` VARCHAR(32) default '0' NOT NULL,
`USR_UID` VARCHAR(32) default '0' NOT NULL,
PRIMARY KEY (`GRP_UID`,`USR_UID`)
PRIMARY KEY (`GRP_UID`,`USR_UID`),
KEY `indexForUsrUid`(`USR_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
#-----------------------------------------------------------------------------
#-- HOLIDAY