Update db structure for tbl_cron

This commit is contained in:
ditatompel 2024-05-06 18:47:25 +07:00
parent 9aad56103a
commit 47c2dfb60b
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -29,10 +29,10 @@ CREATE TABLE `tbl_cron` (
`id` int(8) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(200) NOT NULL DEFAULT '',
`slug` varchar(200) NOT NULL DEFAULT '',
`description` varchar(200) DEFAULT NULL,
`description` varchar(200) NOT NULL DEFAULT '',
`run_every` int(8) unsigned NOT NULL DEFAULT 60 COMMENT 'in seconds',
`last_run` bigint(20) unsigned DEFAULT NULL,
`next_run` bigint(20) unsigned DEFAULT NULL,
`last_run` int(11) unsigned NOT NULL DEFAULT 0,
`next_run` int(11) unsigned NOT NULL DEFAULT 0,
`run_time` float(7,3) unsigned NOT NULL DEFAULT 0.000,
`cron_state` tinyint(1) unsigned NOT NULL DEFAULT 0,
`is_enabled` int(1) unsigned NOT NULL DEFAULT 1,