+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_attachment:/tablelist/okayapi_shopxo_s_attachment.html


-- MySQL Table okayapi_shopxo_s_attachment
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_attachment` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `title` char(160) NULL COMMENT '名称',
    `original` char(160) NULL COMMENT '原始名称',
    `path_type` char(80) NULL COMMENT '路径标记',
    `size` int(11) NULL DEFAULT '0' COMMENT '大小(单位kb)',
    `ext` char(30) NULL COMMENT '类型(后缀名)',
    `okayapi_shopxo_s_attachment_type` char(30) NULL COMMENT '类型(file文件, image图片, scrawl涂鸦, video视频, remote远程抓取文件)',
    `url` char(255) NULL COMMENT 'url路径',
    `okayapi_shopxo_s_attachment_hash` text NULL COMMENT 'hash值',
    KEY `title` (`title`),
    KEY `original` (`original`),
    KEY `path_type` (`path_type`),
    KEY `size` (`size`),
    KEY `ext` (`ext`),
    KEY `okayapi_shopxo_s_attachment_type` (`okayapi_shopxo_s_attachment_type`),
    KEY `url` (`url`),
    KEY `okayapi_shopxo_s_attachment_hash` (`okayapi_shopxo_s_attachment_hash`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-附件';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlechar(160)名称
originalchar(160)原始名称
path_typechar(80)路径标记Normal Index
sizeint(11)0大小(单位kb)0
extchar(30)类型(后缀名)
okayapi_shopxo_s_attachment_typechar(30)类型(file文件, image图片, scrawl涂鸦, video视频, remote远程抓取文件)Normal Index
urlchar(255)url路径
okayapi_shopxo_s_attachment_hashtexthash值

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

MySQL Table Design okayapi_shopxo_s_admin

MySQL Table Design okayapi_shopxo_s_answer

MySQL Table Design okayapi_shopxo_s_app_center_nav

MySQL Table Design okayapi_shopxo_s_app_home_nav

MySQL Table Design okayapi_shopxo_s_article

MySQL Table Design okayapi_shopxo_s_article_category

MySQL Table Design okayapi_shopxo_s_brand

MySQL Table Design okayapi_shopxo_s_brand_category

MySQL Table Design okayapi_shopxo_s_cart

MySQL Table Design okayapi_shopxo_s_config

MySQL Table Design okayapi_shopxo_s_custom_view

MySQL Table Design okayapi_shopxo_s_express

MySQL Table Design okayapi_shopxo_s_goods

MySQL Table Design okayapi_shopxo_s_goods_browse

MySQL Table Design okayapi_shopxo_s_goods_category

MySQL Table Design okayapi_shopxo_s_goods_category_join

MySQL Table Design okayapi_shopxo_s_goods_comments

MySQL Table Design okayapi_shopxo_s_goods_content_app

TOP ↑