+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_admin:/tablelist/okayapi_shopxo_s_admin.html


-- MySQL Table okayapi_shopxo_s_admin
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_admin` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `username` char(30) NOT NULL COMMENT '用户名',
    `login_pwd` char(32) NOT NULL COMMENT '登录密码',
    `login_salt` char(6) NOT NULL COMMENT '登录密码配合加密字符串',
    `mobile` char(11) NOT NULL COMMENT '手机号码',
    `gender` tinyint(1) NOT NULL DEFAULT '0' COMMENT '性别(0保密,1女,2男)',
    `login_total` int(10) NOT NULL DEFAULT '0' COMMENT '登录次数',
    `login_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后登录时间',
    `role_id` int(11) NOT NULL DEFAULT '0' COMMENT '所属角色组',
    `upd_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
    KEY `username` (`username`),
    KEY `login_pwd` (`login_pwd`),
    KEY `login_salt` (`login_salt`),
    KEY `mobile` (`mobile`),
    KEY `gender` (`gender`),
    KEY `login_total` (`login_total`),
    KEY `login_time` (`login_time`),
    KEY `role_id` (`role_id`),
    KEY `upd_time` (`upd_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
usernamechar(30)用户名
login_pwdchar(32)登录密码
login_saltchar(6)登录密码配合加密字符串
mobilechar(11)手机号码
gendertinyint(1)0性别(0保密,1女,2男)0
login_totalint(10)0登录次数0
login_timeint(11)0最后登录时间0
role_idint(11)0所属角色组0
upd_timeint(11)0更新时间0

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

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

MySQL Table Design okayapi_shopxo_s_goods_content_app

TOP ↑