+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
userIdint(11)文件创建人idNormal Index
addTimeint(11)0创建时间0
okayapi_eduwind_ew_upload_file_statuschar(32)状态,unpublished,ok
pathchar(255)文件路径
mimechar(64)文件类型
okayapi_eduwind_ew_upload_file_typechar(64)文件类型
okayapi_eduwind_ew_upload_file_namechar(255)文件名字
sizeint(11)0文件大小0
okayapi_eduwind_ew_upload_file_storagechar(32)locallocal

Guess You Like

MySQL Table Design okayapi_course_apply

MySQL Table Design okayapi_studyabc_articles

MySQL Table Design okayapi_studyabc_articles_content

MySQL Table Design okayapi_studyabc_cet

MySQL Table Design okayapi_studyabc_cetdesc

MySQL Table Design okayapi_studyabc_tinyenglish

MySQL Table Design okayapi_eduwind_AuthAssignment

MySQL Table Design okayapi_eduwind_AuthItem

MySQL Table Design okayapi_eduwind_AuthItemChild

MySQL Table Design okayapi_eduwind_Rights

MySQL Table Design okayapi_eduwind_YiiSession

MySQL Table Design okayapi_eduwind_ew_announcement

MySQL Table Design okayapi_eduwind_ew_answer

MySQL Table Design okayapi_eduwind_ew_area

MySQL Table Design okayapi_eduwind_ew_article

MySQL Table Design okayapi_eduwind_ew_bottom_text

MySQL Table Design okayapi_eduwind_ew_carousel

MySQL Table Design okayapi_eduwind_ew_category

MySQL Table Design okayapi_eduwind_ew_chapter

MySQL Table Design okayapi_eduwind_ew_city

TOP ↑