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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
goods_id | int(11) | 否 | ||||
goods_price | decimal(19,0) | 否 | ||||
sales_order_id | int(11) | 否 | ||||
log_time | int(10) | 否 |