--- DATABASE_MYSQL.TXT~ 2007-06-10 16:21:31.000000000 -0600 +++ DATABASE_MYSQL.TXT 2007-06-10 16:57:36.000000000 -0600 @@ -49,9 +49,8 @@ `created` 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', - PRIMARY KEY (`username`), - KEY username (`username`) -) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Admins'; + PRIMARY KEY (`username`) +) ENGINE=InnoDB COMMENT='Postfix Admin - Virtual Admins'; # # Table structure for table alias @@ -63,9 +62,8 @@ `created` 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', - PRIMARY KEY (`address`), - KEY address (`address`) -) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Aliases'; + PRIMARY KEY (`address`) +) ENGINE=InnoDB COMMENT='Postfix Admin - Virtual Aliases'; # # Table structure for table domain @@ -82,9 +80,8 @@ `created` 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', - PRIMARY KEY (`domain`), - KEY domain (`domain`) -) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Domains'; + PRIMARY KEY (`domain`) +) ENGINE=InnoDB COMMENT='Postfix Admin - Virtual Domains'; # # Table structure for table domain_admins @@ -95,7 +92,7 @@ `created` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', KEY username (`username`) -) TYPE=MyISAM COMMENT='Postfix Admin - Domain Admins'; +) ENGINE=InnoDB COMMENT='Postfix Admin - Domain Admins'; # # Table structure for table log @@ -107,7 +104,7 @@ `action` varchar(255) NOT NULL default '', `data` varchar(255) NOT NULL default '', KEY timestamp (`timestamp`) -) TYPE=MyISAM COMMENT='Postfix Admin - Log'; +) ENGINE=InnoDB COMMENT='Postfix Admin - Log'; # # Table structure for table mailbox @@ -122,9 +119,9 @@ `created` 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', - PRIMARY KEY (`username`), - KEY username (`username`) -) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes'; + `clear` varchar(255) NOT NULL default '', + PRIMARY KEY (`username`) +) ENGINE=InnoDB COMMENT='Postfix Admin - Virtual Mailboxes'; # # Table structure for table vacation @@ -137,9 +134,8 @@ `domain` varchar(255) NOT NULL default '', `created` datetime NOT NULL default '0000-00-00 00:00:00', `active` tinyint(1) NOT NULL default '1', - PRIMARY KEY (`email`), - KEY email (`email`) -) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Vacation'; + PRIMARY KEY (`email`) +) ENGINE=InnoDB COMMENT='Postfix Admin - Virtual Vacation'; # superadmin user & password (login: admin@domain.tld, password: admin) INSERT INTO domain_admins (username, domain, active) VALUES ('admin@domain.tld','ALL','1');