+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_login:/tablelist/okayapi_login.html


-- MySQL Table okayapi_login
-- From: OkayAPI.com
CREATE TABLE `okayapi_login` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userId` bigint(15) NOT NULL COMMENT '用户id',
    `type` tinyint(2) NOT NULL COMMENT '类型
0-密码登录
1-验证码登录',
    `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建日期',
    KEY `userId` (`userId`),
    KEY `type` (`type`),
    KEY `date` (`date`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'web开发-登录信息存session';

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


MySQL database table structure design

Displaying 1-3 of 3 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
userIdbigint(15)用户id
typetinyint(2)类型 0-密码登录 1-验证码登录
datetimestampCURRENT_TIMESTAMP创建日期CURRENT_TIMESTAMP

Guess You Like

MySQL Table Design okayapi_seo_article

MySQL Table Design okayapi_article_ad

MySQL Table Design okayapi_article_cate

MySQL Table Design okayapi_article_tag

MySQL Table Design okayapi_article_map

MySQL Table Design okayapi_access

MySQL Table Design okayapi_comment

MySQL Table Design okayapi_document

MySQL Table Design okayapi_function

MySQL Table Design okayapi_moment

MySQL Table Design okayapi_praise

MySQL Table Design okayapi_request

MySQL Table Design okayapi_response

MySQL Table Design okayapi_test_record

MySQL Table Design okayapi_verify

MySQL Table Design okayapi_apijson_privacy

MySQL Table Design okayapi_apijson_user

TOP ↑