MySQL Create Table SQL
Table Structure: okayapi_lvyou_jee_incomes:/tablelist/okayapi_lvyou_jee_incomes.html
-- MySQL Table okayapi_lvyou_jee_incomes
-- From: OkayAPI.com
CREATE TABLE `okayapi_lvyou_jee_incomes` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '',
`code_id` varchar(25) NOT NULL COMMENT '',
`money` decimal(13,2) NOT NULL DEFAULT '0.00' COMMENT '',
`now_money` decimal(13,2) NOT NULL DEFAULT '0.00' COMMENT '',
`okayapi_lvyou_jee_incomes_types` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
`in_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
`create_time` int(11) NOT NULL DEFAULT '0' COMMENT '',
KEY `user_id` (`user_id`),
KEY `code_id` (`code_id`),
KEY `money` (`money`),
KEY `now_money` (`now_money`),
KEY `okayapi_lvyou_jee_incomes_types` (`okayapi_lvyou_jee_incomes_types`),
KEY `in_type` (`in_type`),
KEY `create_time` (`create_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'lvyou旅游-收入';
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 |
---|---|---|---|---|---|---|
user_id | int(11) | 否 | ||||
code_id | varchar(25) | 否 | ||||
money | decimal(13,2) | 0.00 | 否 | 0.00 | ||
now_money | decimal(13,2) | 0.00 | 否 | 0.00 | ||
okayapi_lvyou_jee_incomes_types | tinyint(1) | 0 | 否 | 0 | ||
in_type | tinyint(1) | 0 | 否 | 0 | ||
create_time | int(11) | 0 | 否 | 0 |