Index: branches/5.2.x/core/install/install_schema.sql
===================================================================
diff -u -r14861 -r14881
--- branches/5.2.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 14861)
+++ branches/5.2.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 14881)
@@ -664,10 +664,10 @@
   KEY QueryCrc (QueryCrc)
 );
 
-CREATE TABLE Agents (
-  AgentId int(11) NOT NULL auto_increment,
-  AgentName varchar(255) NOT NULL default '',
-  AgentType tinyint(3) unsigned NOT NULL default '1',
+CREATE TABLE ScheduledTasks (
+  ScheduledTaskId int(11) NOT NULL auto_increment,
+  `Name` varchar(255) NOT NULL default '',
+  `Type` tinyint(3) unsigned NOT NULL default '1',
   Status tinyint(3) unsigned NOT NULL default '1',
   Event varchar(255) NOT NULL default '',
   RunInterval int(10) unsigned NOT NULL default '0',
@@ -679,11 +679,11 @@
   Timeout int(10) UNSIGNED NULL,
   LastTimeoutOn int(10) unsigned default NULL,
   SiteDomainLimitation varchar(255) NOT NULL,
-  PRIMARY KEY  (AgentId),
+  PRIMARY KEY  (ScheduledTaskId),
   KEY Status (Status),
   KEY RunInterval (RunInterval),
   KEY RunMode (RunMode),
-  KEY AgentType (AgentType),
+  KEY `Type` (`Type`),
   KEY LastRunOn (LastRunOn),
   KEY LastRunStatus (LastRunStatus),
   KEY RunTime (RunTime),
