PRWelBot4SECourse/dbResource/pulldb.sql

34 lines
1.2 KiB
MySQL
Raw Permalink Normal View History

2023-03-28 15:43:44 +08:00
/*
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;