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_msg` text,
PRIMARY KEY (`mail_id`)
) TYPE=MyISAM;
) TYPE=InnoDB;
CREATE TABLE `rcpts` (
`rcpt_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '',
`recipient` varchar(255),
PRIMARY KEY (`rcpt_id`)
) TYPE=MyISAM;
) TYPE=InnoDB;
CREATE TABLE `message_body` (
`bdy_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '',
`body` text,
PRIMARY KEY (`bdy_id`)
) TYPE=MyISAM;
) TYPE=InnoDB;
CREATE TABLE `message_headers` (
`header_id` int(11) NOT NULL auto_increment,
`mail_id` varchar(255) NOT NULL default '',
`header` text,
PRIMARY KEY (`header_id`)
) TYPE=MyISAM;
) TYPE=InnoDB;

Loading…
Cancel
Save