Skip to content

Commit

Permalink
add keys to dropdown tables
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Sep 21, 2015
1 parent 53164f9 commit 387f919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/dropdown.class.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ class %%CLASSNAME%% extends CommonTreeDropdown {
`entities_id` INT(11) NOT NULL DEFAULT '0',
`is_recursive` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `entities_id` (`entities_id`)
KEY `entities_id` (`entities_id`),
KEY `is_recursive` (`is_recursive`),
KEY `plugin_fields_%%FIELDNAME%%dropdowns_id`
(`plugin_fields_%%FIELDNAME%%dropdowns_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;";
$DB->query($query) or die ($DB->error());
}
Expand Down

0 comments on commit 387f919

Please sign in to comment.