summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.3/mysql/patch/applications.sql
diff options
context:
space:
mode:
Diffstat (limited to 'upgrades/dbpatches/1.3/mysql/patch/applications.sql')
-rw-r--r--upgrades/dbpatches/1.3/mysql/patch/applications.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.3/mysql/patch/applications.sql b/upgrades/dbpatches/1.3/mysql/patch/applications.sql
index fd2b07f6..9b18bfb7 100644
--- a/upgrades/dbpatches/1.3/mysql/patch/applications.sql
+++ b/upgrades/dbpatches/1.3/mysql/patch/applications.sql
@@ -4,7 +4,8 @@ CREATE TABLE applications_tmp (
name varchar(255) DEFAULT '' NOT NULL,
templateid bigint unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (applicationid)
-);
+) ENGINE=InnoDB ;
+
CREATE INDEX applications_1 on applications_tmp (templateid);
CREATE UNIQUE INDEX applications_2 on applications_tmp (hostid,name);