forked from Trustie-Study-Group/PRWelBot4SECourse
34 lines
1.2 KiB
SQL
34 lines
1.2 KiB
SQL
/*
|
||
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;
|