MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_upload_file:/tablelist/okayapi_eduwind_ew_upload_file.html
-- MySQL Table okayapi_eduwind_ew_upload_file
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_upload_file` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) NOT NULL COMMENT '文件创建人id',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`okayapi_eduwind_ew_upload_file_status` char(32) NOT NULL COMMENT '状态,unpublished,ok',
`path` char(255) NOT NULL COMMENT '文件路径',
`mime` char(64) NOT NULL COMMENT '文件类型',
`okayapi_eduwind_ew_upload_file_type` char(64) NOT NULL COMMENT '文件类型',
`okayapi_eduwind_ew_upload_file_name` char(255) NOT NULL COMMENT '文件名字',
`size` int(11) NOT NULL DEFAULT '0' COMMENT '文件大小',
`okayapi_eduwind_ew_upload_file_storage` char(32) NOT NULL DEFAULT 'local' COMMENT '',
KEY `userId` (`userId`),
KEY `addTime` (`addTime`),
KEY `okayapi_eduwind_ew_upload_file_status` (`okayapi_eduwind_ew_upload_file_status`),
KEY `path` (`path`),
KEY `mime` (`mime`),
KEY `okayapi_eduwind_ew_upload_file_type` (`okayapi_eduwind_ew_upload_file_type`),
KEY `okayapi_eduwind_ew_upload_file_name` (`okayapi_eduwind_ew_upload_file_name`),
KEY `size` (`size`),
KEY `okayapi_eduwind_ew_upload_file_storage` (`okayapi_eduwind_ew_upload_file_storage`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'EW在线教育-文件';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
userId | int(11) | 否 | 文件创建人id | Normal Index | ||
addTime | int(11) | 0 | 否 | 创建时间 | 0 | |
okayapi_eduwind_ew_upload_file_status | char(32) | 否 | 状态,unpublished,ok | |||
path | char(255) | 否 | 文件路径 | |||
mime | char(64) | 否 | 文件类型 | |||
okayapi_eduwind_ew_upload_file_type | char(64) | 否 | 文件类型 | |||
okayapi_eduwind_ew_upload_file_name | char(255) | 否 | 文件名字 | |||
size | int(11) | 0 | 否 | 文件大小 | 0 | |
okayapi_eduwind_ew_upload_file_storage | char(32) | local | 否 | local |