+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
client_idbigint(20)Normal Index
pay_gateway_idbigint(20)Normal Index
sidvarchar(255)
rel_typevarchar(100)
rel_idbigint(20)
periodvarchar(255)
amountdouble(18,2)
currencyvarchar(50)
statusvarchar(255)

Guess You Like

MySQL Table Design okayapi_activity_admin_history

MySQL Table Design okayapi_activity_client_email

MySQL Table Design okayapi_activity_client_history

MySQL Table Design okayapi_activity_system

MySQL Table Design okayapi_box_admin

MySQL Table Design okayapi_box_admin_group

MySQL Table Design okayapi_box_cart

MySQL Table Design okayapi_box_cart_product

MySQL Table Design okayapi_box_client

MySQL Table Design okayapi_box_client_balance

MySQL Table Design okayapi_box_client_group

MySQL Table Design okayapi_box_client_order

MySQL Table Design okayapi_box_client_order_meta

MySQL Table Design okayapi_box_client_order_status

MySQL Table Design okayapi_box_client_password_reset

MySQL Table Design okayapi_box_currency

MySQL Table Design okayapi_box_email_template

MySQL Table Design okayapi_box_extension

MySQL Table Design okayapi_box_extension_meta

MySQL Table Design okayapi_box_form

TOP ↑