Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT UNSIGNED | 20 | √ | null |
|
|
||||||
company_id | BIGINT UNSIGNED | 20 | null |
|
|
会社ID |
||||||
headline | enum('condition', 'inquiry', 'other1', 'other2') | 9 | null |
|
|
見出し |
||||||
form_type | enum('label', 'text_s', 'text_m', 'text_l', 'textarea', 'schedule', 'period', 'address', 'number', 'numbers', 'pulldown', 'checkbox', 'jsb_obic_campus') | 15 | null |
|
|
フォームタイプ |
||||||
is_required | BIT | 1 | null |
|
|
必須フラグ |
||||||
title | VARCHAR | 255 |
|
|
設問 |
|||||||
example | VARCHAR | 255 |
|
|
例文 |
|||||||
unit | VARCHAR | 255 |
|
|
単位 |
|||||||
field_name | VARCHAR | 100 | √ | null |
|
|
フィールド名 |
|||||
target_column | VARCHAR | 20 |
|
|
設定対象カラム |
|||||||
sort | INT | 10 | 0 |
|
|
並び順 |
||||||
created_at | TIMESTAMP | 26 | √ | null |
|
|
||||||
updated_at | TIMESTAMP | 26 | √ | null |
|
|
||||||
deleted_at | TIMESTAMP | 26 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
company_addition_items_company_id_field_name_unique | Must be unique | Asc/Asc | company_id + field_name |