Skip to content
Snippets Groups Projects
Commit e4ddd09f authored by Jared Hancock's avatar Jared Hancock
Browse files

Index form_entry on (object_type, object_id)

parent 6a460f07
No related branches found
No related tags found
No related merge requests found
17f0cc96b366a747113622fa4780f9bc
61c9d5d71093d3595b3d41855386a905
/**
* @version v1.8.0-dpr1 Dynamic Forms
* @signature 17f0cc96b366a747113622fa4780f9bc
* @signature 61c9d5d71093d3595b3d41855386a905
*
* Adds the database structure for the dynamic forms feature and migrates
* the database from the legacy <=1.7 format to the new format with the
......@@ -120,5 +120,5 @@ ALTER TABLE `%TABLE_PREFIX%ticket`
-- Finished with patch
UPDATE `%TABLE_PREFIX%config`
SET `value` = '17f0cc96b366a747113622fa4780f9bc'
SET `value` = '61c9d5d71093d3595b3d41855386a905'
WHERE `key` = 'schema_signature' AND `namespace` = 'core';
......@@ -211,7 +211,7 @@ CREATE TABLE `%TABLE_PREFIX%form_entry` (
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `entry_lookup` (`object_id`, `object_type`)
KEY `entry_lookup` (`object_type`, `object_id`)
) DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%TABLE_PREFIX%form_entry_values`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment