From 0f90886a468407154a3dffca61ef8ca9ac7dbca6 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sun, 23 Sep 2007 16:42:05 +0000 Subject: [PATCH] DATABASE_MYSQL.TXT: remove the redundant "KEY $field" when $field is already a PRIMARY KEY git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@79 a1433add-5e2c-0410-b055-b7f2511e0802 --- DATABASE_MYSQL.TXT | 4 ---- 1 file changed, 4 deletions(-) diff --git a/DATABASE_MYSQL.TXT b/DATABASE_MYSQL.TXT index c77a52d8..86b5cefd 100644 --- a/DATABASE_MYSQL.TXT +++ b/DATABASE_MYSQL.TXT @@ -50,7 +50,6 @@ CREATE TABLE `admin` ( `modified` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`username`), - KEY username (`username`) ) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Admins'; # @@ -64,7 +63,6 @@ CREATE TABLE `alias` ( `modified` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`address`), - KEY address (`address`) ) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Aliases'; # @@ -83,7 +81,6 @@ CREATE TABLE `domain` ( `modified` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`domain`), - KEY domain (`domain`) ) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Domains'; # @@ -123,7 +120,6 @@ CREATE TABLE `mailbox` ( `modified` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`username`), - KEY username (`username`) ) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes';