CREATE TABLE IF NOT EXISTS `module_modules` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `keyword` varchar(250) NOT NULL,
  `title` varchar(500) NOT NULL,
  `status` enum('Uninstalled', 'Started', 'Stopped', 'New') NOT NULL DEFAULT 'New',
  `type` enum('System', 'Default', 'Custom', 'Additional') NOT NULL DEFAULT 'Additional',
  `custom` varchar(255) DEFAULT 'default',
  `version` varchar(255) DEFAULT '1.0',
  `order` int(11) DEFAULT 1000,
  `display` int(11) DEFAULT 1,
  `created` datetime DEFAULT NULL,
  `updated` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `keyword` (`keyword`),
  KEY `status` (`status`),
  KEY `type` (`type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

INSERT INTO `module_modules` (`keyword`, `title`, `status`, `type`, `created`, `updated`) VALUES ('Module', 'Module', 'Started', 'Default', NOW(), NOW());
