MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_file:/tablelist/okayapi_eduwind_ew_file.html
-- MySQL Table okayapi_eduwind_ew_file
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_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_file_status` char(32) NOT NULL COMMENT '状态,unpublished,ok',
`path` char(255) NOT NULL COMMENT '文件路径',
`okayapi_eduwind_ew_file_type` char(64) NOT NULL COMMENT '文件类型',
`okayapi_eduwind_ew_file_name` char(255) NOT NULL COMMENT '文件名字',
`size` int(11) NOT NULL DEFAULT '0' COMMENT '文件大小',
KEY `userId` (`userId`),
KEY `addTime` (`addTime`),
KEY `okayapi_eduwind_ew_file_status` (`okayapi_eduwind_ew_file_status`),
KEY `path` (`path`),
KEY `okayapi_eduwind_ew_file_type` (`okayapi_eduwind_ew_file_type`),
KEY `okayapi_eduwind_ew_file_name` (`okayapi_eduwind_ew_file_name`),
KEY `size` (`size`),
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-7 of 7 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_file_status | char(32) | 否 | 状态,unpublished,ok | |||
path | char(255) | 否 | 文件路径 | |||
okayapi_eduwind_ew_file_type | char(64) | 否 | 文件类型 | |||
okayapi_eduwind_ew_file_name | char(255) | 否 | 文件名字 | |||
size | int(11) | 0 | 否 | 文件大小 | 0 |