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.72 KB

settings.md

File metadata and controls

51 lines (36 loc) · 1.72 KB

settings

概要

設定

テーブル定義
CREATE TABLE `settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` text DEFAULT NULL,
  `updated_on` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `index_settings_on_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci

カラム一覧

名前 タイプ デフォルト値 NULL許可 Extra Definition 子テーブル 親テーブル コメント
id int(11) false auto_increment
name varchar(255) '' false
value text NULL true
updated_on timestamp NULL true

制約一覧

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

INDEX一覧

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

ER図

er


Generated by tbls