MySQL Create Table SQL
Table Structure: okayapi_vhr_position:/tablelist/okayapi_vhr_position.html
-- MySQL Table okayapi_vhr_position
-- From: OkayAPI.com
CREATE TABLE `okayapi_vhr_position` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NULL COMMENT '职位',
`createDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
KEY `name` (`name`),
KEY `createDate` (`createDate`),
KEY `enabled` (`enabled`),
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-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
name | varchar(32) | 是 | 职位 | Unique Index | ||
createDate | timestamp | CURRENT_TIMESTAMP | 是 | CURRENT_TIMESTAMP | ||
enabled | tinyint(1) | 1 | 是 | 1 |