PRWelBot4SECourse/dbResource/pulldb.sql

34 lines
1.2 KiB
SQL
Raw Permalink 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 MySQL Data Transfer
Source Server : localhost
Source Server Version : 80023
Source Host : localhost:3306
Source Database : pulldb
Target Server Type : MYSQL
Target Server Version : 80023
File Encoding : 65001
Date: 2023-03-23 16:56:23
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for pull
-- ----------------------------
DROP TABLE IF EXISTS `pull`;
CREATE TABLE `pull` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '主键id',
`pullid` int NOT NULL COMMENT 'pr主键id',
`index` int DEFAULT NULL COMMENT 'pull下标',
`owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '仓库拥有者login',
`repo` varchar(255) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '仓库名称',
`created` datetime NOT NULL COMMENT 'pr创建时间',
`closed` datetime DEFAULT NULL COMMENT '关闭时间',
`checktime` datetime NOT NULL COMMENT 'pr预期有变化时间',
`status` int NOT NULL DEFAULT '0' COMMENT 'Pull状态0打开1 关闭2 提醒完成',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;