From 70bd8dc794759feb7650ceb58233e9c048605674 Mon Sep 17 00:00:00 2001 From: zhangwq Date: Tue, 30 Oct 2018 10:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BB=84=E5=9C=B0=E7=90=86=E7=AE=A1?= =?UTF-8?q?=E7=90=86sql=E6=8F=90=E4=BA=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqlupdate/policy_group_info.sql | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sqlupdate/policy_group_info.sql diff --git a/sqlupdate/policy_group_info.sql b/sqlupdate/policy_group_info.sql new file mode 100644 index 000000000..65f849c47 --- /dev/null +++ b/sqlupdate/policy_group_info.sql @@ -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;