MySQL Create Table SQL
Table Structure: okayapi_vhr_joblevel:/tablelist/okayapi_vhr_joblevel.html
-- MySQL Table okayapi_vhr_joblevel
-- From: OkayAPI.com
CREATE TABLE `okayapi_vhr_joblevel` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NULL COMMENT '职称名称',
`titleLevel` enum('正高级','副高级','中级','初级','员级') NULL COMMENT '',
`createDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
KEY `name` (`name`),
KEY `titleLevel` (`titleLevel`),
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-4 of 4 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
name | varchar(32) | 是 | 职称名称 | |||
titleLevel | enum('正高级','副高级','中级','初级','员级') | 是 | ||||
createDate | timestamp | CURRENT_TIMESTAMP | 是 | CURRENT_TIMESTAMP | ||
enabled | tinyint(1) | 1 | 是 | 1 |