MySQL Create Table SQL
Table Structure: okayapi_kite_document_model_field:/tablelist/okayapi_kite_document_model_field.html
-- MySQL Table okayapi_kite_document_model_field
-- From: OkayAPI.com
CREATE TABLE `okayapi_kite_document_model_field` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`model_id` int(11) NOT NULL COMMENT '模型ID',
`field_id` int(11) NOT NULL COMMENT '字段ID',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
KEY `model_id` (`model_id`),
KEY `field_id` (`field_id`),
KEY `sort` (`sort`),
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-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
model_id | int(11) | 否 | 模型ID | |||
field_id | int(11) | 否 | 字段ID | |||
sort | int(11) | 0 | 否 | 排序 | 0 |