Skip to content

Commit

Permalink
uri is unique again
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 23, 2015
1 parent 9bdc187 commit f71cd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ CREATE TABLE `request_uris` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(8192) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `uri` (`uri`(255)),
UNIQUE KEY `uri` (`uri`),
KEY `id` (`id`,`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Expand Down

0 comments on commit f71cd74

Please sign in to comment.