This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/sqlupdate/policy_group_info.sql
2018-10-30 10:43:34 +08:00

36 lines
1.3 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
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;