Skip to content

Commit

Permalink
Merge pull request #14 from twiro/integration
Browse files Browse the repository at this point in the history
Set 'entry_id' as unique
  • Loading branch information
nitriques committed Jan 5, 2016
2 parents 6c9a259 + 19a95b4 commit 84f3e80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions extension.meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
</author>
</authors>
<releases>
<release version="1.7.1" date="2015-10-01" min="2.5">
- Support Symphony 2.5+
</release>
<release version="1.7" date="2014-12-22" min="2.5">
- Support Symphony 2.5+
</release>
Expand Down
2 changes: 1 addition & 1 deletion fields/field.number.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function createTable() {
`entry_id` int(11) unsigned NOT NULL,
`value` double default NULL,
PRIMARY KEY (`id`),
KEY `entry_id` (`entry_id`),
UNIQUE KEY `entry_id` (`entry_id`),
KEY `value` (`value`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci"
);
Expand Down

0 comments on commit 84f3e80

Please sign in to comment.