分组地理管理sql提交.
This commit is contained in:
35
sqlupdate/policy_group_info.sql
Normal file
35
sqlupdate/policy_group_info.sql
Normal 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;
|
||||
Reference in New Issue
Block a user