+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_report:/tablelist/okayapi_report.html


-- MySQL Table okayapi_report
-- From: OkayAPI.com
CREATE TABLE `okayapi_report` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `uid` int(11) NOT NULL DEFAULT '0' COMMENT '举报用户id',
    `okayapi_report_type` varchar(50) NOT NULL COMMENT '类别',
    `target_id` int(11) NOT NULL DEFAULT '0' COMMENT 'ID',
    `reason` varchar(255) NOT NULL COMMENT '举报理由',
    `url` varchar(255) NOT NULL COMMENT '',
    `report_time` int(11) NOT NULL DEFAULT '0' COMMENT '举报时间',
    `report_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否处理',
    KEY `uid` (`uid`),
    KEY `okayapi_report_type` (`okayapi_report_type`),
    KEY `target_id` (`target_id`),
    KEY `reason` (`reason`),
    KEY `url` (`url`),
    KEY `report_time` (`report_time`),
    KEY `report_status` (`report_status`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '投诉举报';

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


MySQL database table structure design

Displaying 1-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
uidint(11)0举报用户id0
okayapi_report_typevarchar(50)类别
target_idint(11)0ID0
reasonvarchar(255)举报理由
urlvarchar(255)
report_timeint(11)0举报时间0
report_statustinyint(1)0是否处理0

Guess You Like

MySQL Table Design okayapi_question

MySQL Table Design okayapi_topic

MySQL Table Design okayapi_social_users

MySQL Table Design okayapi_sina_weibo

MySQL Table Design okayapi_ucenter

TOP ↑