|
@@ -41,7 +41,8 @@
|
|
|
CREATE TABLE `virtual_domains` (
|
|
|
`id` int(11) NOT NULL auto_increment,
|
|
|
`name` varchar(190) NOT NULL,
|
|
|
- PRIMARY KEY (`id`)
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `domain` (`name`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
-- Create a table for all of the email addresses and passwords:
|