Index: trunk/admin/install/inportal_schema.sql
===================================================================
diff -u -r309 -r313
--- trunk/admin/install/inportal_schema.sql	(.../inportal_schema.sql)	(revision 309)
+++ trunk/admin/install/inportal_schema.sql	(.../inportal_schema.sql)	(revision 313)
@@ -500,11 +500,11 @@
 )
 # --------------------------------------------------------
 CREATE TABLE EmailLog (
-  EmailLogId INT(11) NOT NULL ,
-  fromuser VARCHAR(200) NOT NULL ,
-  addressto VARCHAR(255) NOT NULL ,
-  subject VARCHAR(255) NOT NULL ,
-  timestamp BIGINT NOT NULL ,
-  event VARCHAR(100) NOT NULL ,
-PRIMARY KEY (EmailLogId) 
+  EmailLogId int(11) NOT NULL auto_increment,
+  fromuser varchar(200) default NULL,
+  addressto varchar(255) default NULL,
+  subject varchar(255) default NULL,
+  timestamp bigint(20) default '0',
+  event varchar(100) default NULL,
+  PRIMARY KEY  (EmailLogId)
 )
