MySQL Create Table SQL
Table Structure: okayapi_landi_grocery_running:/tablelist/okayapi_landi_grocery_running.html
-- MySQL Table okayapi_landi_grocery_running
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_grocery_running` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`ctime` datetime NULL COMMENT '',
`item_id` int(11) NULL COMMENT '',
`total` int(11) NULL COMMENT '',
`per_money` double NULL COMMENT '',
`all_money` double NULL COMMENT '',
`okayapi_landi_grocery_running_type` int(11) NULL COMMENT '1 buy, 2 sell, 3 use',
`sys_state` int(11) NULL DEFAULT '1' COMMENT '',
KEY `ctime` (`ctime`),
KEY `item_id` (`item_id`),
KEY `total` (`total`),
KEY `per_money` (`per_money`),
KEY `all_money` (`all_money`),
KEY `okayapi_landi_grocery_running_type` (`okayapi_landi_grocery_running_type`),
KEY `sys_state` (`sys_state`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'LD酒店租房管理-食品杂货';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
ctime | datetime | 是 | ||||
item_id | int(11) | 是 | Normal Index | |||
total | int(11) | 是 | ||||
per_money | double | 是 | ||||
all_money | double | 是 | ||||
okayapi_landi_grocery_running_type | int(11) | 是 | 1 buy, 2 sell, 3 use | |||
sys_state | int(11) | 1 | 是 | 1 |