MySQL Create Table SQL
Table Structure: okayapi_box_subscription:/tablelist/okayapi_box_subscription.html
-- MySQL Table okayapi_box_subscription
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_subscription` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) NULL COMMENT '',
`pay_gateway_id` bigint(20) NULL COMMENT '',
`sid` varchar(255) NULL COMMENT '',
`rel_type` varchar(100) NULL COMMENT '',
`rel_id` bigint(20) NULL COMMENT '',
`period` varchar(255) NULL COMMENT '',
`amount` double(18,2) NULL COMMENT '',
`currency` varchar(50) NULL COMMENT '',
`status` varchar(255) NULL COMMENT '',
KEY `client_id` (`client_id`),
KEY `pay_gateway_id` (`pay_gateway_id`),
KEY `sid` (`sid`),
KEY `rel_type` (`rel_type`),
KEY `rel_id` (`rel_id`),
KEY `period` (`period`),
KEY `amount` (`amount`),
KEY `currency` (`currency`),
KEY `status` (`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-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
client_id | bigint(20) | 是 | Normal Index | |||
pay_gateway_id | bigint(20) | 是 | Normal Index | |||
sid | varchar(255) | 是 | ||||
rel_type | varchar(100) | 是 | ||||
rel_id | bigint(20) | 是 | ||||
period | varchar(255) | 是 | ||||
amount | double(18,2) | 是 | ||||
currency | varchar(50) | 是 | ||||
status | varchar(255) | 是 |