MySQL Create Table SQL
Table Structure: okayapi_box_form_field:/tablelist/okayapi_box_form_field.html
-- MySQL Table okayapi_box_form_field
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_form_field` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`form_id` bigint(20) NULL COMMENT '',
`name` varchar(255) NULL COMMENT '',
`label` varchar(255) NULL COMMENT '',
`hide_label` tinyint(1) NULL COMMENT '',
`description` varchar(255) NULL COMMENT '',
`type` varchar(255) NULL COMMENT '',
`default_value` varchar(255) NULL COMMENT '',
`required` tinyint(1) NULL COMMENT '',
`hidden` tinyint(1) NULL COMMENT '',
`readonly` tinyint(1) NULL COMMENT '',
`is_unique` tinyint(1) NULL COMMENT '',
`prefix` varchar(255) NULL COMMENT '',
`suffix` varchar(255) NULL COMMENT '',
`options` text NULL COMMENT '',
`show_initial` varchar(255) NULL COMMENT '',
`show_middle` varchar(255) NULL COMMENT '',
`show_prefix` varchar(255) NULL COMMENT '',
`show_suffix` varchar(255) NULL COMMENT '',
`text_size` int(11) NULL COMMENT '',
KEY `form_id` (`form_id`),
KEY `name` (`name`),
KEY `label` (`label`),
KEY `hide_label` (`hide_label`),
KEY `description` (`description`),
KEY `type` (`type`),
KEY `default_value` (`default_value`),
KEY `required` (`required`),
KEY `hidden` (`hidden`),
KEY `readonly` (`readonly`),
KEY `is_unique` (`is_unique`),
KEY `prefix` (`prefix`),
KEY `suffix` (`suffix`),
KEY `options` (`options`),
KEY `show_initial` (`show_initial`),
KEY `show_middle` (`show_middle`),
KEY `show_prefix` (`show_prefix`),
KEY `show_suffix` (`show_suffix`),
KEY `text_size` (`text_size`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '主机销售-表单字段';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-19 of 19 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
form_id | bigint(20) | 是 | Normal Index | |||
name | varchar(255) | 是 | ||||
label | varchar(255) | 是 | ||||
hide_label | tinyint(1) | 是 | ||||
description | varchar(255) | 是 | ||||
type | varchar(255) | 是 | ||||
default_value | varchar(255) | 是 | ||||
required | tinyint(1) | 是 | ||||
hidden | tinyint(1) | 是 | ||||
readonly | tinyint(1) | 是 | ||||
is_unique | tinyint(1) | 是 | ||||
prefix | varchar(255) | 是 | ||||
suffix | varchar(255) | 是 | ||||
options | text | 是 | ||||
show_initial | varchar(255) | 是 | ||||
show_middle | varchar(255) | 是 | ||||
show_prefix | varchar(255) | 是 | ||||
show_suffix | varchar(255) | 是 | ||||
text_size | int(11) | 是 |