Commit 39b7cb72 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Add three indexes to formEditor.sql.

Play the following to existing tables:
ALTER TABLE `FormElement` ADD INDEX `feIdContainer` (`feIdContainer`);
ALTER TABLE `FormElement` ADD INDEX `ord` (`ord`);
ALTER TABLE `FormElement` ADD INDEX `feGroup` (`feGroup`);
parent 85b301ba
...@@ -105,7 +105,11 @@ CREATE TABLE IF NOT EXISTS `FormElement` ( ...@@ -105,7 +105,11 @@ CREATE TABLE IF NOT EXISTS `FormElement` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `formId` (`formId`), KEY `formId` (`formId`),
KEY `formId_class_enabled_deleted` (`formId`, `class`, `enabled`, `deleted`) KEY `formId_class_enabled_deleted` (`formId`, `class`, `enabled`, `deleted`),
KEY `feIdContainer` (`feIdContainer`),
KEY `ord` (`ord`),
KEY `feGroup` (`feGroup`)
) )
ENGINE = InnoDB ENGINE = InnoDB
DEFAULT CHARSET = utf8 DEFAULT CHARSET = utf8
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment