MySQL Create Table SQL
Table Structure: okayapi_dberp_app:/tablelist/okayapi_dberp_app.html
-- MySQL Table okayapi_dberp_app
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_app` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`app_name` varchar(100) NOT NULL COMMENT '',
`app_access_id` varchar(30) NOT NULL COMMENT '',
`app_access_secret` varchar(50) NOT NULL COMMENT '',
`app_url` varchar(100) NOT NULL COMMENT '',
`app_url_port` varchar(10) NOT NULL DEFAULT '80' COMMENT '',
`app_type` varchar(20) NOT NULL COMMENT '',
`app_goods_bind_type` varchar(20) NOT NULL COMMENT '商品绑定类型',
`app_goods_bind` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否启用商品绑定',
`app_state` tinyint(2) NOT NULL DEFAULT '1' COMMENT '',
`app_add_time` int(10) NOT NULL COMMENT '',
KEY `app_name` (`app_name`),
KEY `app_access_id` (`app_access_id`),
KEY `app_access_secret` (`app_access_secret`),
KEY `app_url` (`app_url`),
KEY `app_url_port` (`app_url_port`),
KEY `app_type` (`app_type`),
KEY `app_goods_bind_type` (`app_goods_bind_type`),
KEY `app_goods_bind` (`app_goods_bind`),
KEY `app_state` (`app_state`),
KEY `app_add_time` (`app_add_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'DBErp进销存-绑定电商系统表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
app_name | varchar(100) | 否 | ||||
app_access_id | varchar(30) | 否 | ||||
app_access_secret | varchar(50) | 否 | ||||
app_url | varchar(100) | 否 | ||||
app_url_port | varchar(10) | 80 | 否 | 80 | ||
app_type | varchar(20) | 否 | ||||
app_goods_bind_type | varchar(20) | 是 | 商品绑定类型 | |||
app_goods_bind | tinyint(1) | 0 | 否 | 是否启用商品绑定 | 0 | |
app_state | tinyint(2) | 1 | 否 | 1 | ||
app_add_time | int(10) | 否 |