MySQL Create Table SQL
Table Structure: okayapi_migo_schedule_job_log:/tablelist/okayapi_migo_schedule_job_log.html
-- MySQL Table okayapi_migo_schedule_job_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_migo_schedule_job_log` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`log_id` bigint(20) NULL COMMENT '任务日志id',
`job_id` bigint(20) NULL COMMENT '任务id',
`bean_name` varchar(200) NULL COMMENT 'spring bean名称',
`method_name` varchar(100) NULL COMMENT '方法名',
`params` varchar(2000) NULL COMMENT '参数',
`okayapi_migo_schedule_job_log_status` tinyint(4) NULL COMMENT '任务状态 0:成功 1:失败',
`okayapi_migo_schedule_job_log_error` varchar(2000) NULL COMMENT '失败信息',
`times` int(11) NULL COMMENT '耗时(单位:毫秒)',
`create_time` datetime NULL COMMENT '创建时间',
KEY `log_id` (`log_id`),
KEY `job_id` (`job_id`),
KEY `bean_name` (`bean_name`),
KEY `method_name` (`method_name`),
KEY `params` (`params`),
KEY `okayapi_migo_schedule_job_log_status` (`okayapi_migo_schedule_job_log_status`),
KEY `okayapi_migo_schedule_job_log_error` (`okayapi_migo_schedule_job_log_error`),
KEY `times` (`times`),
KEY `create_time` (`create_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'migo权限管理-定时任务日志';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
log_id | bigint(20) | 否 | 任务日志id | |||
job_id | bigint(20) | 否 | 任务id | Normal Index | ||
bean_name | varchar(200) | 是 | spring bean名称 | |||
method_name | varchar(100) | 是 | 方法名 | |||
params | varchar(2000) | 是 | 参数 | |||
okayapi_migo_schedule_job_log_status | tinyint(4) | 否 | 任务状态 0:成功 1:失败 | |||
okayapi_migo_schedule_job_log_error | varchar(2000) | 是 | 失败信息 | |||
times | int(11) | 否 | 耗时(单位:毫秒) | |||
create_time | datetime | 是 | 创建时间 |