Index: trunk/admin/install/upgrades/inportal_upgrade_v1.0.10.sql
===================================================================
diff -u -r1020 -r1176
--- trunk/admin/install/upgrades/inportal_upgrade_v1.0.10.sql	(.../inportal_upgrade_v1.0.10.sql)	(revision 1020)
+++ trunk/admin/install/upgrades/inportal_upgrade_v1.0.10.sql	(.../inportal_upgrade_v1.0.10.sql)	(revision 1176)
@@ -21,3 +21,6 @@
 ALTER TABLE PortalUser ADD UNIQUE (PwResetConfirm);
 ALTER TABLE PortalUser ADD PwRequestTime BIGINT(20);
 ALTER TABLE PortalUser ADD MinPwResetDelay INT DEFAULT '1800' NOT NULL;
+
+ALTER TABLE CustomMetaData ADD INDEX (ResourceId);
+ALTER TABLE CustomMetaData ADD INDEX (CustomFieldId);
\ No newline at end of file
