use tidb_block_browser;
/*
 Navicat Premium Data Transfer

 Source Server         : tidb_block_browser
 Source Server Type    : MySQL
 Source Server Version : 50725
 Source Host           : 47.117.70.83:4000
 Source Schema         : tidb_block_browser

 Target Server Type    : MySQL
 Target Server Version : 50725
 File Encoding         : 65001

 Date: 01/06/2021 17:13:00
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for tb_contract_license
-- ----------------------------
DROP TABLE IF EXISTS `tb_contract_license`;
CREATE TABLE `tb_contract_license` (
  `id` bigint(20) NOT NULL,
  `license_type` varchar(255) DEFAULT NULL COMMENT '合约license版本',
  `symbol` varchar(255) DEFAULT NULL COMMENT '版本简称',
  `sync_time` datetime DEFAULT NULL COMMENT '同步时间',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of tb_contract_license
-- ----------------------------
BEGIN;
INSERT INTO `tb_contract_license` VALUES (10001, 'NO License', 'None', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10002, 'The Unlicense', 'Unlicense', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10003, 'MIT License', 'MIT', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10004, 'GNU General Public License v2.0', 'GNU GPLv2', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10005, 'GNU General Public License v3.0', 'GNU GPLv3', NULL, NULL, NULL);

INSERT INTO `tb_contract_license` VALUES (10006, 'GNU Lesser General Public License v2.1', 'GNU LGPLv2.1', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10007, 'GNU Lesser General Public License v3.0', 'GNU LGPLv3', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10008, 'BSD 2-clause "Simplified" license', 'BSD-2-Clause', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10009, 'BSD 3-clause "New" Or "Revised" license', 'BSD-3-Clause', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10010, 'Mozilla Public License 2.0', 'MPL-2.0', NULL, NULL, NULL);

INSERT INTO `tb_contract_license` VALUES (10011, 'Open Software License 3.0', 'OSL-3.0', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10012, 'Apache 2.0', 'Apache-2.0', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10013, 'GNU Affero General Public License', 'GNU AGPLv3', NULL, NULL, NULL);
INSERT INTO `tb_contract_license` VALUES (10014, 'Business Source License', 'BSL 1.1', NULL, NULL, NULL);

COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
