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

Latest commit

 

History

History
51 lines (36 loc) · 1.95 KB

custom_field_enumerations.md

File metadata and controls

51 lines (36 loc) · 1.95 KB

custom_field_enumerations

概要

キーバリューリスト(カスタムフィールド)

テーブル定義
CREATE TABLE `custom_field_enumerations` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `custom_field_id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `position` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci

カラム一覧

名前 タイプ デフォルト値 NULL許可 Extra Definition 子テーブル 親テーブル コメント
id int(11) false auto_increment
custom_field_id int(11) false custom_fields
name varchar(255) false
active tinyint(1) 1 false
position int(11) 1 false

制約一覧

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

INDEX一覧

名前 定義
PRIMARY PRIMARY KEY (id) USING BTREE

ER図

er


Generated by tbls