カスタムフィールド⇔プロジェクト
テーブル定義
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_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 |
Generated by tbls