[Scheduler] Event scheduler implementation (#1257)

* Event scheduler implementation

* Create 2021_02_17_server_scheduled_events.sql

* Tweak

* Remove unused event [skip ci]

* Cleanup [skip ci]

* PR adjustments

* Database manifest
This commit is contained in:
Chris Miles
2021-03-29 02:52:57 -05:00
committed by GitHub
parent f51bc4daaf
commit 7aa5308f9c
31 changed files with 2053 additions and 50 deletions
@@ -0,0 +1,21 @@
CREATE TABLE `server_scheduled_events`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`description` varchar(255) DEFAULT NULL,
`event_type` varchar(100) DEFAULT NULL,
`event_data` text DEFAULT NULL,
`minute_start` int(11) DEFAULT 0,
`hour_start` int(11) DEFAULT 0,
`day_start` int(11) DEFAULT 0,
`month_start` int(11) DEFAULT 0,
`year_start` int(11) DEFAULT 0,
`minute_end` int(11) DEFAULT 0,
`hour_end` int(11) DEFAULT 0,
`day_end` int(11) DEFAULT 0,
`month_end` int(11) DEFAULT 0,
`year_end` int(11) DEFAULT 0,
`cron_expression` varchar(100) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`deleted_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;