MySQL Create Table SQL
Table Structure: okayapi_bi_account:/tablelist/okayapi_bi_account.html
-- MySQL Table okayapi_bi_account
-- From: OkayAPI.com
CREATE TABLE `okayapi_bi_account` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`tid` varchar(32) NULL COMMENT '',
`orgi` varchar(32) NULL COMMENT '',
`code` varchar(32) NULL COMMENT '',
`name` varchar(255) NULL COMMENT '',
`userid` varchar(32) NULL COMMENT '',
`groupid` varchar(255) NULL COMMENT '',
`status` int(11) NULL COMMENT '',
`balance` double NULL COMMENT '',
`amount` double NULL COMMENT '',
`createtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`spare` varchar(255) NULL COMMENT '',
`spare1` varchar(255) NULL COMMENT '',
KEY `tid` (`tid`),
KEY `orgi` (`orgi`),
KEY `code` (`code`),
KEY `name` (`name`),
KEY `userid` (`userid`),
KEY `groupid` (`groupid`),
KEY `status` (`status`),
KEY `balance` (`balance`),
KEY `amount` (`amount`),
KEY `createtime` (`createtime`),
KEY `spare` (`spare`),
KEY `spare1` (`spare1`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '企业报表-账号';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-12 of 12 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
tid | varchar(32) | 是 | ||||
orgi | varchar(32) | 是 | ||||
code | varchar(32) | 是 | ||||
name | varchar(255) | 是 | ||||
userid | varchar(32) | 是 | ||||
groupid | varchar(255) | 是 | ||||
status | int(11) | 是 | ||||
balance | double | 是 | ||||
amount | double | 是 | ||||
createtime | timestamp | CURRENT_TIMESTAMP | 否 | CURRENT_TIMESTAMP | ||
spare | varchar(255) | 是 | ||||
spare1 | varchar(255) | 是 |