+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_box_invoice_item:/tablelist/okayapi_box_invoice_item.html


-- MySQL Table okayapi_box_invoice_item
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_invoice_item` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `invoice_id` bigint(20) NULL COMMENT '',
    `type` varchar(100) NULL COMMENT '',
    `rel_id` text NULL COMMENT '',
    `task` varchar(100) NULL COMMENT '',
    `status` varchar(100) NULL COMMENT '',
    `title` varchar(255) NULL COMMENT '',
    `period` varchar(10) NULL COMMENT '',
    `quantity` bigint(20) NULL COMMENT '',
    `unit` varchar(100) NULL COMMENT '',
    `price` double(18,2) NULL COMMENT '',
    `charged` tinyint(1) NULL DEFAULT '0' COMMENT '',
    `taxed` tinyint(1) NULL DEFAULT '0' COMMENT '',
    KEY `invoice_id` (`invoice_id`),
    KEY `type` (`type`),
    KEY `rel_id` (`rel_id`),
    KEY `task` (`task`),
    KEY `status` (`status`),
    KEY `title` (`title`),
    KEY `period` (`period`),
    KEY `quantity` (`quantity`),
    KEY `unit` (`unit`),
    KEY `price` (`price`),
    KEY `charged` (`charged`),
    KEY `taxed` (`taxed`),
    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-12 of 12 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
invoice_idbigint(20)Normal Index
typevarchar(100)
rel_idtext
taskvarchar(100)
statusvarchar(100)
titlevarchar(255)
periodvarchar(10)
quantitybigint(20)
unitvarchar(100)
pricedouble(18,2)
chargedtinyint(1)00
taxedtinyint(1)00

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 ↑