Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -N -r14601 -r14605
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14601)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14605)
@@ -2107,4 +2107,8 @@
 SET DirectLinkAuthKey = SUBSTRING( MD5( CONCAT(CategoryId, ':', ParentId, ':', l<%PRIMARY_LANGUAGE%>_Name, ':b38') ), 1, 20)
 WHERE DirectLinkAuthKey = '';
 
-INSERT INTO ConfigurationValues VALUES(DEFAULT, 'ExcludeTemplateSectionsFromSearch', '0', 'In-Portal', 'in-portal:configure_categories', 'la_title_General', 'la_config_ExcludeTemplateSectionsFromSearch', 'checkbox', '', '', 10.15, 0, 0, NULL);
\ No newline at end of file
+INSERT INTO ConfigurationValues VALUES(DEFAULT, 'ExcludeTemplateSectionsFromSearch', '0', 'In-Portal', 'in-portal:configure_categories', 'la_title_General', 'la_config_ExcludeTemplateSectionsFromSearch', 'checkbox', '', '', 10.15, 0, 0, NULL);
+
+ALTER TABLE Agents
+	ADD SiteDomainLimitation VARCHAR(255) NOT NULL,
+	ADD INDEX (SiteDomainLimitation);
