+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_verify:/tablelist/okayapi_verify.html


-- MySQL Table okayapi_verify
-- From: OkayAPI.com
CREATE TABLE `okayapi_verify` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `type` int(2) NOT NULL DEFAULT '0' COMMENT '类型:
0-登录
1-注册
2-修改登录密码
3-修改支付密码',
    `phone` bigint(11) NOT NULL COMMENT '手机号',
    `verify` int(6) NOT NULL COMMENT '验证码',
    `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    KEY `type` (`type`),
    KEY `phone` (`phone`),
    KEY `verify` (`verify`),
    KEY `date` (`date`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'web开发-手机验证表';

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


MySQL database table structure design

Displaying 1-4 of 4 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
typeint(2)0类型: 0-登录 1-注册 2-修改登录密码 3-修改支付密码0
phonebigint(11)手机号
verifyint(6)验证码
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_login

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_apijson_privacy

MySQL Table Design okayapi_apijson_user

TOP ↑