Alter table to migrate existing databases to InnoDB

tags/0.1.5
Daniel Berteaud 12 years ago
parent f9260644a5
commit 3b05c5c5f6
  1. 8
      root/etc/e-smith/templates/etc/e-smith/sql/init/qpsmtpdLog2Sql

@ -41,6 +41,14 @@ REPLACE INTO db (
'N', 'Y', 'Y'); 'N', 'Y', 'Y');
FLUSH PRIVILEGES; 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 EOF
END END
} }

Loading…
Cancel
Save