Index: branches/5.0.x/core/install/install_schema.sql
===================================================================
diff -u -r12231 -r12244
--- branches/5.0.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 12231)
+++ branches/5.0.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 12244)
@@ -107,14 +107,16 @@
   Event varchar(40) NOT NULL default '',
   ReplacementTags text,
   Enabled int(11) NOT NULL default '1',
-  FromUserId int(11) NOT NULL default '-1',
+  FrontEndOnly tinyint(3) unsigned NOT NULL default '0',
+  FromUserId int(11) default NULL,
   Module varchar(40) NOT NULL default '',
   Description varchar(255) NOT NULL default '',
-  Type int(11) NOT NULL default '0',
+  `Type` int(11) NOT NULL default '0',
   PRIMARY KEY  (EventId),
-  KEY Type (Type),
+  KEY `Type` (`Type`),
   KEY Enabled (Enabled),
-  KEY Event (Event)
+  KEY Event (Event),
+  KEY FrontEndOnly (FrontEndOnly)
 );
 
 CREATE TABLE IdGenerator (
