+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:敏捷项目-issue:https://open.yesapi.cn/tablelist/yesapi_issue_main.html


-- 数据库大全:敏捷项目-issue
-- 来源:YesApi.cn
CREATE TABLE `yesapi_issue_main` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `pkey` varchar(32) NOT NULL COMMENT '',
    `issue_num` varchar(64) NOT NULL COMMENT '',
    `project_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `issue_type` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `creator` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `modifier` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `reporter` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `assignee` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `summary` varchar(255) NOT NULL COMMENT '',
    `description` text NOT NULL COMMENT '',
    `environment` varchar(128) NOT NULL COMMENT '',
    `priority` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `resolve` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `yesapi_issue_main_status` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `created` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `updated` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `start_date` date NOT NULL COMMENT '',
    `due_date` date NOT NULL COMMENT '',
    `resolve_date` date NOT NULL COMMENT '',
    `module` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `milestone` varchar(20) NOT NULL COMMENT '',
    `sprint` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `weight` int(11) NOT NULL DEFAULT '0' COMMENT '优先级权重值',
    `backlog_weight` int(11) NOT NULL DEFAULT '0' COMMENT 'backlog排序权重',
    `sprint_weight` int(11) NOT NULL DEFAULT '0' COMMENT 'sprint排序权重',
    `assistants` varchar(256) NOT NULL COMMENT '',
    `master_id` int(11) NOT NULL DEFAULT '0' COMMENT '父任务的id,非0表示子任务',
    `have_children` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否拥有子任务',
    `followed_count` int(11) NOT NULL DEFAULT '0' COMMENT '被关注人数',
    `comment_count` int(11) NOT NULL DEFAULT '0' COMMENT '评论数',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '敏捷项目-issue';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-30 条, 共 30 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
pkeyvarchar(32)无索引
issue_numvarchar(64)无索引
project_idint(11)0无索引0
issue_typeint(11)0无索引0
creatorint(11)0无索引0
modifierint(11)0无索引0
reporterint(11)0无索引0
assigneeint(11)0无索引0
summaryvarchar(255)无索引
descriptiontext无索引
environmentvarchar(128)无索引
priorityint(11)0无索引0
resolveint(11)0无索引0
yesapi_issue_main_statusint(11)0无索引0
createdint(11)0无索引0
updatedint(11)0无索引0
start_datedate无索引
due_datedate无索引
resolve_datedate无索引
moduleint(11)0无索引0
milestonevarchar(20)无索引
sprintint(11)0无索引0
weightint(11)0优先级权重值无索引0
backlog_weightint(11)0backlog排序权重无索引0
sprint_weightint(11)0sprint排序权重无索引0
assistantsvarchar(256)无索引
master_idint(11)0父任务的id,非0表示子任务无索引0
have_childrentinyint(1)0是否拥有子任务无索引0
followed_countint(11)0被关注人数无索引0
comment_countint(11)0评论数无索引0

猜你喜欢

MySQL数据库设计 敏捷项目-面板

MySQL数据库设计 敏捷项目-面板列

MySQL数据库设计 敏捷项目-Sprint

MySQL数据库设计 敏捷项目-Sprint报告

MySQL数据库设计 敏捷项目-自定义字段值

MySQL数据库设计 敏捷项目-字段默认布局

MySQL数据库设计 敏捷项目-项目自定义字段布局

MySQL数据库设计 敏捷项目-主要字段

MySQL数据库设计 敏捷项目-字段类型

MySQL数据库设计 敏捷项目-缓存

MySQL数据库设计 敏捷项目-用户表

MySQL数据库设计 敏捷项目-issue指派

MySQL数据库设计 敏捷项目-新增事项时描述的模板

MySQL数据库设计 敏捷项目-issue影响版本

MySQL数据库设计 敏捷项目-issue字段布局

MySQL数据库设计 敏捷项目-issue附件

MySQL数据库设计 敏捷项目-issue过滤器

MySQL数据库设计 敏捷项目-issue修复版本

MySQL数据库设计 敏捷项目-issue工作流

MySQL数据库设计 敏捷项目-issue标签



回到顶部 ↑