Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (38 loc) · 2.28 KB

issue_categories.md

File metadata and controls

53 lines (38 loc) · 2.28 KB

issue_categories

概要

カテゴリー

テーブル定義
CREATE TABLE `issue_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `name` varchar(60) NOT NULL DEFAULT '',
  `assigned_to_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `issue_categories_project_id` (`project_id`),
  KEY `index_issue_categories_on_assigned_to_id` (`assigned_to_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci

カラム一覧

名前 タイプ デフォルト値 NULL許可 Extra Definition 子テーブル 親テーブル コメント
id int(11) false auto_increment issues
project_id int(11) 0 false projects
name varchar(60) '' false
assigned_to_id int(11) NULL true users

制約一覧

名前 タイプ 定義
PRIMARY PRIMARY KEY PRIMARY KEY (id)

INDEX一覧

名前 定義
index_issue_categories_on_assigned_to_id KEY index_issue_categories_on_assigned_to_id (assigned_to_id) USING BTREE
issue_categories_project_id KEY issue_categories_project_id (project_id) USING BTREE
PRIMARY PRIMARY KEY (id) USING BTREE

ER図

er


Generated by tbls