CREATE TABLE IF NOT EXISTS `go_config` ( `id` int(10) NOT NULL AUTO_INCREMENT, `field` varchar(255) NOT NULL, `title` varchar(255) NOT NULL, `mark` varchar(255) NOT NULL, `field_type` varchar(255) NOT NULL DEFAULT 'string', `config_type` varchar(255) NOT NULL DEFAULT 'site', `value` varchar(255) NOT NULL, `is_system` tinyint(1) NOT NULL DEFAULT '0', `is_required` tinyint(1) NOT NULL DEFAULT '0', `sort` int(10) NOT NULL DEFAULT '1', `status` tinyint(1) NOT NULL DEFAULT '1', `add_time` datetime NOT NULL, `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `field` (`field`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;