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

Latest commit

 

History

History
45 lines (30 loc) · 2.23 KB

File metadata and controls

45 lines (30 loc) · 2.23 KB

custom_fields_projects

概要

カスタムフィールド⇔プロジェクト

テーブル定義
CREATE TABLE `custom_fields_projects` (
  `custom_field_id` int(11) NOT NULL DEFAULT 0,
  `project_id` int(11) NOT NULL DEFAULT 0,
  UNIQUE KEY `index_custom_fields_projects_on_custom_field_id_and_project_id` (`custom_field_id`,`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci

カラム一覧

名前 タイプ デフォルト値 NULL許可 子テーブル 親テーブル コメント
custom_field_id int(11) 0 false custom_fields
project_id int(11) 0 false projects

制約一覧

名前 タイプ 定義
index_custom_fields_projects_on_custom_field_id_and_project_id UNIQUE UNIQUE KEY index_custom_fields_projects_on_custom_field_id_and_project_id (custom_field_id, project_id)

INDEX一覧

名前 定義
index_custom_fields_projects_on_custom_field_id_and_project_id UNIQUE KEY index_custom_fields_projects_on_custom_field_id_and_project_id (custom_field_id, project_id) USING BTREE

ER図

er


Generated by tbls