+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_fie_user:/tablelist/okayapi_fie_user.html


-- MySQL Table okayapi_fie_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_user` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_type` tinyint(3) NULL DEFAULT '1' COMMENT '用户类型;1:admin;2:会员',
    `sex` tinyint(2) NULL DEFAULT '0' COMMENT '性别;0:保密,1:男,2:女',
    `birthday` int(11) NULL DEFAULT '0' COMMENT '生日',
    `last_login_time` int(11) NULL DEFAULT '0' COMMENT '最后登录时间',
    `score` int(11) NULL DEFAULT '0' COMMENT '用户积分',
    `coin` int(10) NULL DEFAULT '0' COMMENT '金币',
    `balance` decimal(10,2) NULL DEFAULT '0.00' COMMENT '余额',
    `create_time` int(11) NULL DEFAULT '0' COMMENT '注册时间',
    `user_status` tinyint(3) NULL DEFAULT '1' COMMENT '用户状态;0:禁用,1:正常,2:未验证',
    `user_login` varchar(60) NULL COMMENT '用户名',
    `user_pass` varchar(64) NULL COMMENT '登录密码;cmf_password加密',
    `user_nickname` varchar(50) NULL COMMENT '用户昵称',
    `user_email` varchar(100) NULL COMMENT '用户登录邮箱',
    `user_url` varchar(100) NULL COMMENT '用户个人网址',
    `avatar` varchar(255) NULL COMMENT '用户头像',
    `signature` varchar(255) NULL COMMENT '个性签名',
    `last_login_ip` varchar(15) NULL COMMENT '最后登录ip',
    `user_activation_key` varchar(60) NULL COMMENT '激活码',
    `mobile` varchar(20) NULL COMMENT '用户手机号',
    `more` text NULL COMMENT '扩展属性',
    KEY `user_type` (`user_type`),
    KEY `sex` (`sex`),
    KEY `birthday` (`birthday`),
    KEY `last_login_time` (`last_login_time`),
    KEY `score` (`score`),
    KEY `coin` (`coin`),
    KEY `balance` (`balance`),
    KEY `create_time` (`create_time`),
    KEY `user_status` (`user_status`),
    KEY `user_login` (`user_login`),
    KEY `user_pass` (`user_pass`),
    KEY `user_nickname` (`user_nickname`),
    KEY `user_email` (`user_email`),
    KEY `user_url` (`user_url`),
    KEY `avatar` (`avatar`),
    KEY `signature` (`signature`),
    KEY `last_login_ip` (`last_login_ip`),
    KEY `user_activation_key` (`user_activation_key`),
    KEY `mobile` (`mobile`),
    KEY `more` (`more`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-用户表';

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


MySQL database table structure design

Displaying 1-20 of 20 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_typetinyint(3)1用户类型;1:admin;2:会员1
sextinyint(2)0性别;0:保密,1:男,2:女0
birthdayint(11)0生日0
last_login_timeint(11)0最后登录时间0
scoreint(11)0用户积分0
coinint(10)0金币0
balancedecimal(10,2)0.00余额0.00
create_timeint(11)0注册时间0
user_statustinyint(3)1用户状态;0:禁用,1:正常,2:未验证1
user_loginvarchar(60)用户名Normal Index
user_passvarchar(64)登录密码;cmf_password加密
user_nicknamevarchar(50)用户昵称Normal Index
user_emailvarchar(100)用户登录邮箱
user_urlvarchar(100)用户个人网址
avatarvarchar(255)用户头像
signaturevarchar(255)个性签名
last_login_ipvarchar(15)最后登录ip
user_activation_keyvarchar(60)激活码
mobilevarchar(20)用户手机号
moretext扩展属性

Guess You Like

MySQL Table Design okayapi_message

MySQL Table Design okayapi_article

MySQL Table Design okayapi_fie_admin_menu

MySQL Table Design okayapi_fie_asset

MySQL Table Design okayapi_fie_auth_access

MySQL Table Design okayapi_fie_auth_rule

MySQL Table Design okayapi_fie_comment

MySQL Table Design okayapi_fie_hook

MySQL Table Design okayapi_fie_hook_plugin

MySQL Table Design okayapi_fie_link

MySQL Table Design okayapi_fie_nav

MySQL Table Design okayapi_fie_nav_menu

MySQL Table Design okayapi_fie_option

MySQL Table Design okayapi_fie_plugin

MySQL Table Design okayapi_fie_portal_category

MySQL Table Design okayapi_fie_portal_category_post

MySQL Table Design okayapi_fie_portal_post

MySQL Table Design okayapi_fie_portal_tag

MySQL Table Design okayapi_fie_portal_tag_post

MySQL Table Design okayapi_fie_recycle_bin

TOP ↑