Index: branches/5.1.x/core/install/install_schema.sql
===================================================================
diff -u -r14332 -r14402
--- branches/5.1.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 14332)
+++ branches/5.1.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 14402)
@@ -1,7 +1,7 @@
 CREATE TABLE PermissionConfig (
   PermissionConfigId int(11) NOT NULL auto_increment,
   PermissionName varchar(30) NOT NULL default '',
-  Description varchar(255) NOT NULL default '',  
+  Description varchar(255) NOT NULL default '',
   ModuleId varchar(20) NOT NULL default '0',
   PRIMARY KEY  (PermissionConfigId),
   KEY PermissionName (PermissionName)
@@ -155,16 +155,17 @@
 );
 
 CREATE TABLE Modules (
-  `Name` varchar(255) NOT NULL default '',
-  Path varchar(255) NOT NULL default '',
-  `Var` VARCHAR(100) NOT NULL DEFAULT '',
-  Version varchar(10) NOT NULL default '0.0.0',
-  Loaded tinyint(4) NOT NULL default '1',
-  LoadOrder tinyint(4) NOT NULL default '0',
-  TemplatePath varchar(255) NOT NULL default '',
-  RootCat int(11) NOT NULL default '0',
-  BuildDate int(10) unsigned default NULL,
-  PRIMARY KEY  (`Name`),
+  `Name` varchar(255) NOT NULL DEFAULT '',
+  Path varchar(255) NOT NULL DEFAULT '',
+  Var varchar(100) NOT NULL DEFAULT '',
+  Version varchar(10) NOT NULL DEFAULT '0.0.0',
+  Loaded tinyint(4) NOT NULL DEFAULT '1',
+  LoadOrder tinyint(4) NOT NULL DEFAULT '0',
+  TemplatePath varchar(255) NOT NULL DEFAULT '',
+  RootCat int(11) NOT NULL DEFAULT '0',
+  BuildDate int(10) unsigned DEFAULT NULL,
+  AppliedDBRevisions text,
+  PRIMARY KEY (`Name`),
   KEY Loaded (Loaded),
   KEY LoadOrder (LoadOrder)
 );
