Alter table to migrate existing databases to InnoDB

This commit is contained in:
Daniel Berteaud 2013-04-19 16:40:58 +02:00
parent f9260644a5
commit 3b05c5c5f6
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,14 @@ REPLACE INTO db (
'N', 'Y', 'Y');
FLUSH PRIVILEGES;
USE smtp_log;
ALTER TABLE messages ENGINE=InnodDB;
ALTER TABLE message_headers ENGINE=InnodDB;
ALTER TABLE message_body ENGINE=InnodDB;
ALTER TABLE rcpts ENGINE=InnodDB;
EOF
END
}