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

Latest commit

 

History

History
45 lines (30 loc) · 2.23 KB

custom_fields_trackers.md

File metadata and controls

45 lines (30 loc) · 2.23 KB

custom_fields_trackers

概要

カスタムフィールド⇔トラッカー

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

カラム一覧

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

制約一覧

名前 タイプ 定義
index_custom_fields_trackers_on_custom_field_id_and_tracker_id UNIQUE UNIQUE KEY index_custom_fields_trackers_on_custom_field_id_and_tracker_id (custom_field_id, tracker_id)

INDEX一覧

名前 定義
index_custom_fields_trackers_on_custom_field_id_and_tracker_id UNIQUE KEY index_custom_fields_trackers_on_custom_field_id_and_tracker_id (custom_field_id, tracker_id) USING BTREE

ER図

er


Generated by tbls