This commit is contained in:
Paula Quispe
2017-08-01 08:26:24 -04:00
parent 849c9686ab
commit 1a8ea0e3dd
2 changed files with 5 additions and 1 deletions

View File

@@ -297,6 +297,9 @@
<parameter name="Comment" value=""/>
</vendor>
</index>
<index name="indexAppUid">
<index-column name="APP_UID"/>
</index>
</table>
<table name="APP_MESSAGE" idMethod="native">
<vendor type="mysql">

View File

@@ -132,7 +132,8 @@ CREATE TABLE `APP_DOCUMENT`
`SYNC_WITH_DRIVE` VARCHAR(32) default 'UNSYNCHRONIZED' NOT NULL,
`SYNC_PERMISSIONS` MEDIUMTEXT,
PRIMARY KEY (`APP_DOC_UID`,`DOC_VERSION`),
KEY `indexAppDocument`(`FOLDER_UID`, `APP_DOC_UID`)
KEY `indexAppDocument`(`FOLDER_UID`, `APP_DOC_UID`),
KEY `indexAppUid`(`APP_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Documents in an Application';
#-----------------------------------------------------------------------------
#-- APP_MESSAGE