Index: trunk/core/install/install_schema.sql
===================================================================
diff -u -N -r8057 -r8066
--- trunk/core/install/install_schema.sql	(.../install_schema.sql)	(revision 8057)
+++ trunk/core/install/install_schema.sql	(.../install_schema.sql)	(revision 8066)
@@ -420,3 +420,16 @@
   PRIMARY KEY  (PopupId),
   KEY TemplateName (TemplateName)
 );
+
+CREATE TABLE Counters (
+  CounterId int(10) unsigned NOT NULL auto_increment,
+  Name varchar(100) NOT NULL default '',
+  CountQuery text,
+  CountValue text,
+  LastCounted int(10) unsigned default NULL,
+  LifeTime int(10) unsigned NOT NULL default '3600',
+  IsClone tinyint(3) unsigned NOT NULL default '0',
+  TablesAffected text,
+  PRIMARY KEY  (CounterId),
+  UNIQUE KEY Name (Name)
+);
