Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -r14629 -r14630
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14629)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14630)
@@ -2130,4 +2130,10 @@
 	ADD UploadExtensions VARCHAR(255) NOT NULL DEFAULT '' AFTER  Validation,
 	ADD UploadMaxSize INT NULL AFTER UploadExtensions;
 
-ALTER TABLE Language ADD SynchronizationModes VARCHAR(255) NOT NULL DEFAULT '';
\ No newline at end of file
+ALTER TABLE Language ADD SynchronizationModes VARCHAR(255) NOT NULL DEFAULT '';
+
+ALTER TABLE PortalUser
+	CHANGE ip IPAddress VARCHAR(15) NOT NULL,
+	ADD IPRestrictions TEXT NULL;
+
+ALTER TABLE PortalGroup ADD IPRestrictions TEXT NULL;
\ No newline at end of file
