CREATE TABLE `o2o_city`(
`id` int(11) unsigned NOT NULL auto_increment,
`name` VARCHAR(50) NOT NULL DEFAULT '',
`uname` VARCHAR(50) NOT NULL DEFAULT '',
`parent_id` int(10) unsigned NOT NULL default 0,
`is_default` tinyint(1) NOT NULL DEFAULT 0,
`listorder` int(8) unsigned NOT NULL default 0,
`status` tinyint(1) NOT NULL DEFAULT 0,
`create_time` int(11) unsigned NOT NULL default 0,
`update_time` int(11) unsigned NOT NULL default 0,
PRIMARY KEY (`id`),
KEY parent_id(`parent_id`),
UNIQUE KEY uname(`uname`)
)ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;