Use InnoDB engine

tags/0.1.5
Daniel Berteaud 12 years ago
parent 1a090306f9
commit f9260644a5
  1. 8
      smtp_log.sql

@ -16,25 +16,25 @@ CREATE TABLE `messages` (
`deny_code` int(11) default '0', `deny_code` int(11) default '0',
`deny_msg` text, `deny_msg` text,
PRIMARY KEY (`mail_id`) PRIMARY KEY (`mail_id`)
) TYPE=MyISAM; ) TYPE=InnoDB;
CREATE TABLE `rcpts` ( CREATE TABLE `rcpts` (
`rcpt_id` int(11) NOT NULL auto_increment, `rcpt_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '', `mail_id` varchar(255) NOT NULL default '',
`recipient` varchar(255), `recipient` varchar(255),
PRIMARY KEY (`rcpt_id`) PRIMARY KEY (`rcpt_id`)
) TYPE=MyISAM; ) TYPE=InnoDB;
CREATE TABLE `message_body` ( CREATE TABLE `message_body` (
`bdy_id` int(11) NOT NULL auto_increment, `bdy_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '', `mail_id` varchar(255) NOT NULL default '',
`body` text, `body` text,
PRIMARY KEY (`bdy_id`) PRIMARY KEY (`bdy_id`)
) TYPE=MyISAM; ) TYPE=InnoDB;
CREATE TABLE `message_headers` ( CREATE TABLE `message_headers` (
`header_id` int(11) NOT NULL auto_increment, `header_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '', `mail_id` varchar(255) NOT NULL default '',
`header` text, `header` text,
PRIMARY KEY (`header_id`) PRIMARY KEY (`header_id`)
) TYPE=MyISAM; ) TYPE=InnoDB;

Loading…
Cancel
Save