Index: trunk/admin/install/inportal_schema.sql
===================================================================
diff -u -r325 -r431
--- trunk/admin/install/inportal_schema.sql	(.../inportal_schema.sql)	(revision 325)
+++ trunk/admin/install/inportal_schema.sql	(.../inportal_schema.sql)	(revision 431)
@@ -430,7 +430,8 @@
   FilePath varchar(255) NOT NULL default '',
   Description varchar(255) default NULL,
   FileType int(11) NOT NULL default '0',
-  PRIMARY KEY  (FileId)
+  PRIMARY KEY  (FileId),
+  KEY theme (ThemeId)
 )
 # --------------------------------------------------------
 CREATE TABLE UserGroup (
