Commit fdbed375498bd83ccd2e95cddea07888258ca2d4
1 parent
9ddb4ace
KTS-1554
"Implement a Scheduler" Added the upgrade patch. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7139 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
18 additions
and
0 deletions
sql/mysql/upgrade/3.5.0/scheduler_tables.sql
0 → 100644
| 1 | +CREATE TABLE `scheduler_tasks` ( | ||
| 2 | + `id` int(11) NOT NULL default '0', | ||
| 3 | + `task` varchar(50), | ||
| 4 | + `script_url` varchar(255), | ||
| 5 | + `script_params` varchar(255), | ||
| 6 | + `on_completion` varchar(255), | ||
| 7 | + `is_background` tinyint(4) NOT NULL default '0', | ||
| 8 | + `is_complete` tinyint(4) NOT NULL default '0', | ||
| 9 | + `frequency` varchar(25), | ||
| 10 | + `run_time` int(11), | ||
| 11 | + `previous_run_time` int(11), | ||
| 12 | + `run_duration` float | ||
| 13 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 14 | + | ||
| 15 | +CREATE TABLE `zseq_scheduler_tasks` ( | ||
| 16 | + `id` int(10) unsigned NOT NULL auto_increment, | ||
| 17 | + PRIMARY KEY (`id`) | ||
| 18 | +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; | ||
| 0 | \ No newline at end of file | 19 | \ No newline at end of file |