Skip to content

Commit

Permalink
another try on fixing unique key on uri col
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 23, 2015
1 parent 73ee020 commit c511cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/database.sql
Original file line number Diff line number Diff line change
@@ -109,8 +109,8 @@ CREATE TABLE `request_uris` (
`uri` varchar(8192) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
# max length for a unqiue key is 767 bytes
UNIQUE KEY `uri` (`uri`(750)),
KEY `id` (`id`,`uri`(750))
UNIQUE KEY `uri` (`uri`(700)),
KEY `id` (`id`,`uri`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


0 comments on commit c511cda

Please sign in to comment.