MySQL Create Table SQL
Table Structure: okayapi_appver_user_app_rel:/tablelist/okayapi_appver_user_app_rel.html
-- MySQL Table okayapi_appver_user_app_rel
-- From: OkayAPI.com
CREATE TABLE `okayapi_appver_user_app_rel` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` varchar(32) NOT NULL COMMENT '用户ID',
`app_id` int(10) NOT NULL DEFAULT '0' COMMENT 'APPID',
`created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
KEY `user_id` (`user_id`),
KEY `app_id` (`app_id`),
KEY `created_time` (`created_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'App版本管理-用户和App关系';
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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
user_id | varchar(32) | 否 | 用户ID | |||
app_id | int(10) | 0 | 否 | APPID | 0 | |
created_time | timestamp | CURRENT_TIMESTAMP | 否 | CURRENT_TIMESTAMP |