MySQL Create Table SQL
Table Structure: okayapi_openant_user_balances:/tablelist/okayapi_openant_user_balances.html
-- MySQL Table okayapi_openant_user_balances
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_user_balances` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '',
`balances` decimal(15,4) NOT NULL DEFAULT '0.0000' COMMENT '结余',
`pay_password` varchar(128) NOT NULL COMMENT '支付密码',
KEY `user_id` (`user_id`),
KEY `balances` (`balances`),
KEY `pay_password` (`pay_password`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'openant电商-用户钱包';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
user_id | int(11) | 否 | ||||
balances | decimal(15,4) | 0.0000 | 否 | 结余 | 0.0000 | |
pay_password | varchar(128) | 否 | 支付密码 |