Change TYPE to ENGINE for MySQL 5.5 compatibility