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
postfixadmin-2.3
David Goodwin 17 years ago
parent ecd2e11dea
commit 0f90886a46

@ -50,7 +50,6 @@ CREATE TABLE `admin` (
`modified` datetime NOT NULL default '0000-00-00 00:00:00', `modified` datetime NOT NULL default '0000-00-00 00:00:00',
`active` tinyint(1) NOT NULL default '1', `active` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`username`), PRIMARY KEY (`username`),
KEY username (`username`)
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Admins'; ) 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', `modified` datetime NOT NULL default '0000-00-00 00:00:00',
`active` tinyint(1) NOT NULL default '1', `active` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`address`), PRIMARY KEY (`address`),
KEY address (`address`)
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Aliases'; ) 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', `modified` datetime NOT NULL default '0000-00-00 00:00:00',
`active` tinyint(1) NOT NULL default '1', `active` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`domain`), PRIMARY KEY (`domain`),
KEY domain (`domain`)
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Domains'; ) 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', `modified` datetime NOT NULL default '0000-00-00 00:00:00',
`active` tinyint(1) NOT NULL default '1', `active` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`username`), PRIMARY KEY (`username`),
KEY username (`username`)
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes'; ) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes';

Loading…
Cancel
Save