+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_crm_invoice:/tablelist/okayapi_crm_invoice.html


-- MySQL Table okayapi_crm_invoice
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_invoice` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `invoice_num` varchar(255) NULL COMMENT '发货单号',
    `customer_id` int(11) NULL COMMENT '客户ID',
    `salesorder_id` int(255) NULL COMMENT '销售单',
    `delivery_time` datetime NULL COMMENT '发货日期',
    `deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识:0,未删除,1删除',
    `description` int(11) NULL COMMENT '描述',
    KEY `invoice_num` (`invoice_num`),
    KEY `customer_id` (`customer_id`),
    KEY `salesorder_id` (`salesorder_id`),
    KEY `delivery_time` (`delivery_time`),
    KEY `deleted` (`deleted`),
    KEY `description` (`description`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-发货单';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
invoice_numvarchar(255)发货单号
customer_idint(11)客户ID
salesorder_idint(255)销售单
delivery_timedatetime发货日期
deletedtinyint(4)0删除标识:0,未删除,1删除0
descriptionint(11)描述

Guess You Like

MySQL Table Design okayapi_crm_accountrecordss

MySQL Table Design okayapi_crm_announcements

MySQL Table Design okayapi_crm_caigoutuihuos

MySQL Table Design okayapi_crm_campaigns

MySQL Table Design okayapi_crm_charges

MySQL Table Design okayapi_crm_chargesrecords

MySQL Table Design okayapi_crm_checks

MySQL Table Design okayapi_crm_competitor

MySQL Table Design okayapi_crm_complaints

MySQL Table Design okayapi_crm_contacter

MySQL Table Design okayapi_crm_contactlog

MySQL Table Design okayapi_crm_customer

MySQL Table Design okayapi_crm_dailylogs

MySQL Table Design okayapi_crm_deliverys

MySQL Table Design okayapi_crm_emailgroup

MySQL Table Design okayapi_crm_emailgroupinfo

MySQL Table Design okayapi_crm_expenses

MySQL Table Design okayapi_crm_faq

MySQL Table Design okayapi_crm_faqcategory

MySQL Table Design okayapi_crm_gathers

TOP ↑