SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; DROP TABLE IF EXISTS `{{tableName}}`; CREATE TABLE IF NOT EXISTS `{{tableName}}` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `image` varchar(255), `sorter` int(11) NOT NULL, `enabled` enum('y','n') NOT NULL default 'y', `added` datetime NOT NULL, `changed` datetime NOT NULL, PRIMARY KEY (`id`), KEY `sorter` (`sorter`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;