[Workaround] r62 - trunk/sarge

chaas at torf.workaround.org chaas at torf.workaround.org
Thu Sep 15 14:40:29 CEST 2005


Author: chaas
Date: 2005-09-15 14:40:28 +0200 (Thu, 15 Sep 2005)
New Revision: 62

Modified:
   trunk/sarge/en.xml
Log:
UNIQUE + PRIMARY was not the right way to create the database.
Fixed it to only use PRIMARY now.
(Contributed by "Balu" on #postfix)


Modified: trunk/sarge/en.xml
===================================================================
--- trunk/sarge/en.xml	2005-08-24 13:48:29 UTC (rev 61)
+++ trunk/sarge/en.xml	2005-09-15 12:40:28 UTC (rev 62)
@@ -587,8 +587,7 @@
 <screen>
 CREATE TABLE domains (
 domain varchar(50) NOT NULL,
-PRIMARY KEY (domain),
-UNIQUE KEY domain (domain) )
+PRIMARY KEY (domain) )
 TYPE=MyISAM;
 </screen>
 		</sect2>
@@ -631,7 +630,7 @@
 CREATE TABLE users (
 email varchar(80) NOT NULL,
 password varchar(20) NOT NULL,
-UNIQUE KEY email (email)
+PRIMARY KEY (email)
 ) TYPE=MyISAM;
 </screen>
 




More information about the Workaround-chitchat mailing list