Skip to content

Commit

Permalink
ip and port are uniq
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovikov committed Jul 17, 2015
1 parent 5373756 commit 4fbb55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/schema_configuration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS `alias` (
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `host_2` (`ip`),
UNIQUE KEY `host_2` (`ip`,`port`),
KEY `host` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Expand Down

0 comments on commit 4fbb55d

Please sign in to comment.