+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_dberp_sales_goods_price_log:/tablelist/okayapi_dberp_sales_goods_price_log.html


-- MySQL Table okayapi_dberp_sales_goods_price_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_sales_goods_price_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `goods_id` int(11) NOT NULL COMMENT '',
    `goods_price` decimal(19,0) NOT NULL COMMENT '',
    `sales_order_id` int(11) NOT NULL COMMENT '',
    `log_time` int(10) NOT NULL COMMENT '',
    KEY `goods_id` (`goods_id`),
    KEY `goods_price` (`goods_price`),
    KEY `sales_order_id` (`sales_order_id`),
    KEY `log_time` (`log_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-4 of 4 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
goods_idint(11)
goods_pricedecimal(19,0)
sales_order_idint(11)
log_timeint(10)

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_category

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_log

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_region

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

TOP ↑