+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zheng_ucenter_user_log:/tablelist/okayapi_zheng_ucenter_user_log.html


-- MySQL Table okayapi_zheng_ucenter_user_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_zheng_ucenter_user_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(10) NOT NULL COMMENT '用户编号',
    `content` varbinary(100) NOT NULL COMMENT '内容',
    `ip` varchar(20) NOT NULL COMMENT '操作IP地址',
    `agent` varbinary(200) NOT NULL COMMENT '操作环境',
    `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
    KEY `user_id` (`user_id`),
    KEY `content` (`content`),
    KEY `ip` (`ip`),
    KEY `agent` (`agent`),
    KEY `create_time` (`create_time`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'zheng敏捷开发-用户操作日志表';

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


MySQL database table structure design

Displaying 1-5 of 5 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(10)用户编号
contentvarbinary(100)内容
ipvarchar(20)操作IP地址
agentvarbinary(200)操作环境
create_timetimestampCURRENT_TIMESTAMP操作时间CURRENT_TIMESTAMP

Guess You Like

MySQL Table Design okayapi_logs

MySQL Table Design okayapi_app_version

MySQL Table Design okayapi_tea

MySQL Table Design okayapi_tea_swiper

MySQL Table Design okayapi_tea_moment

MySQL Table Design okayapi_tea_order

MySQL Table Design okayapi_tea_user

MySQL Table Design okayapi_tea_shopcar

MySQL Table Design okayapi_zheng_cms_article

MySQL Table Design okayapi_zheng_cms_article_category

MySQL Table Design okayapi_zheng_cms_article_tag

MySQL Table Design okayapi_zheng_cms_category

MySQL Table Design okayapi_zheng_cms_comment

MySQL Table Design okayapi_zheng_cms_page

MySQL Table Design okayapi_zheng_cms_setting

MySQL Table Design okayapi_zheng_cms_system

MySQL Table Design okayapi_zheng_cms_tag

MySQL Table Design okayapi_zheng_cms_topic

MySQL Table Design okayapi_zheng_pay_in_order

MySQL Table Design okayapi_zheng_pay_in_order_detail

TOP ↑