+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_user_integral_log:/tablelist/okayapi_shopxo_s_user_integral_log.html


-- MySQL Table okayapi_shopxo_s_user_integral_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_user_integral_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
    `okayapi_shopxo_s_user_integral_log_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '操作类型(0减少, 1增加)',
    `original_integral` int(10) NOT NULL DEFAULT '0' COMMENT '原始积分',
    `new_integral` int(10) NOT NULL DEFAULT '0' COMMENT '最新积分',
    `msg` char(255) NOT NULL COMMENT '操作原因',
    `operation_id` int(11) NOT NULL DEFAULT '0' COMMENT '操作人员id',
    KEY `user_id` (`user_id`),
    KEY `okayapi_shopxo_s_user_integral_log_type` (`okayapi_shopxo_s_user_integral_log_type`),
    KEY `original_integral` (`original_integral`),
    KEY `new_integral` (`new_integral`),
    KEY `msg` (`msg`),
    KEY `operation_id` (`operation_id`),
    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-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(11)0用户idNormal Index0
okayapi_shopxo_s_user_integral_log_typetinyint(1)0操作类型(0减少, 1增加)0
original_integralint(10)0原始积分0
new_integralint(10)0最新积分0
msgchar(255)操作原因
operation_idint(11)0操作人员id0

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 ↑