标签:span sts efault new drop signed primary sign name
-- ----------------------------
-- Table structure for system_district
-- ----------------------------
DROP TABLE IF EXISTS `system_district`;
CREATE TABLE `system_district` (
`district_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT ‘区域ID‘,
`parent_id` bigint(20) unsigned NOT NULL COMMENT ‘父ID‘,
`district_name` varchar(200) NOT NULL COMMENT ‘区域名称‘,
`short_name` varchar(200) NOT NULL COMMENT ‘简称‘,
`longitude` decimal(10,7) NOT NULL DEFAULT ‘0.0000000‘ COMMENT ‘经度‘,
`latitude` decimal(10,7) NOT NULL DEFAULT ‘0.0000000‘ COMMENT ‘维度‘,
`level` int(11) NOT NULL DEFAULT ‘1‘ COMMENT ‘等级‘,
`sort` int(11) NOT NULL DEFAULT ‘0‘ COMMENT ‘排序‘,
`is_deleted` tinyint(1) NOT NULL DEFAULT ‘0‘ COMMENT ‘删除标志: 0未删除,1已删除‘,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ‘创建时间‘,
`update_time` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00‘ COMMENT ‘修改时间‘,
PRIMARY KEY (`district_id`)
) ENGINE=InnoDB AUTO_INCREMENT=659004503 DEFAULT CHARSET=utf8 COMMENT=‘区域表‘;
标签:span sts efault new drop signed primary sign name
原文地址:http://www.cnblogs.com/tartary/p/7560253.html