+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_message:/tablelist/okayapi_shopxo_s_message.html


-- MySQL Table okayapi_shopxo_s_message
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_message` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
    `title` char(60) NOT NULL COMMENT '标题',
    `detail` char(255) NOT NULL COMMENT '详情',
    `business_id` int(11) NOT NULL DEFAULT '0' COMMENT '业务id',
    `business_type` tinyint(2) NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, 2充值, 3提现,  ...)',
    `okayapi_shopxo_s_message_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '消息类型(0普通通知, ...)',
    `is_read` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否已读(0否, 1是)',
    `is_delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '是否已删除(0否, 大于0删除时间)',
    `user_is_delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '用户是否已删除(0否, 大于0删除时间)',
    KEY `user_id` (`user_id`),
    KEY `title` (`title`),
    KEY `detail` (`detail`),
    KEY `business_id` (`business_id`),
    KEY `business_type` (`business_type`),
    KEY `okayapi_shopxo_s_message_type` (`okayapi_shopxo_s_message_type`),
    KEY `is_read` (`is_read`),
    KEY `is_delete_time` (`is_delete_time`),
    KEY `user_is_delete_time` (`user_is_delete_time`),
    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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(11)0用户idNormal Index0
titlechar(60)标题
detailchar(255)详情
business_idint(11)0业务id0
business_typetinyint(2)0业务类型(0默认, 1订单, 2充值, 3提现, ...)0
okayapi_shopxo_s_message_typetinyint(1)0消息类型(0普通通知, ...)0
is_readtinyint(1)1是否已读(0否, 1是)1
is_delete_timeint(11)0是否已删除(0否, 大于0删除时间)0
user_is_delete_timeint(11)0用户是否已删除(0否, 大于0删除时间)0

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_attachment

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

TOP ↑