分组地理管理sql提交.

This commit is contained in:
zhangwq
2018-10-30 10:43:34 +08:00
parent dedb50e7a5
commit 70bd8dc794

View File

@@ -0,0 +1,35 @@
/*
Navicat MariaDB Data Transfer
Source Server : 192.168.10.204
Source Server Version : 100214
Source Host : 192.168.10.204:3306
Source Database : gwall_dev
Target Server Type : MariaDB
Target Server Version : 100214
File Encoding : 65001
Date: 2018-10-30 10:38:18
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for policy_group_info
-- ----------------------------
DROP TABLE IF EXISTS `policy_group_info`;
CREATE TABLE `policy_group_info` (
`group_id` int(11) NOT NULL AUTO_INCREMENT,
`group_name` varchar(500) NOT NULL,
`create_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`editor_id` int(11) DEFAULT NULL,
`creator_id` int(11) NOT NULL,
`edit_time` datetime DEFAULT NULL,
`group_type` int(2) DEFAULT NULL COMMENT '1:dns 2:ip复用, 4 asn',
`is_valid` int(2) NOT NULL DEFAULT 1 COMMENT '-1删除 1有效 0无效',
`service_group_id` int(11) DEFAULT NULL COMMENT '从综合服务获取的组号用于存放asn的组号.由于group_id是自增的主键从综合服务获取的组号会与之冲突',
`asn_no` int(11) DEFAULT NULL COMMENT 'asn号',
`description` varchar(200) DEFAULT '',
PRIMARY KEY (`group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=359 DEFAULT CHARSET=utf8mb4;