Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -N -r16754 -r16770
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16754)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16770)
@@ -2964,3 +2964,11 @@
     ADD COLUMN `LogCodeFragment` longtext NULL AFTER `LogSourceFileLine`,
 	ADD COLUMN `LogCodeFragmentsRotated` tinyint(4) NOT NULL DEFAULT '0' AFTER `LogCodeFragment`;
 ALTER TABLE SystemLog ADD INDEX `TIMESTAMP_CODE_FRAGMENTS_ROTATED` (`LogTimestamp`,`LogCodeFragmentsRotated`) USING BTREE;
+
+ALTER TABLE Semaphores
+	ADD COLUMN `UserId` int(11) NULL,
+	ADD COLUMN `IpAddress` varchar(15) NOT NULL DEFAULT '',
+	ADD COLUMN `Hostname` varchar(255) NOT NULL DEFAULT '',
+	ADD COLUMN `RequestURI` varchar(255) NOT NULL DEFAULT '',
+	ADD COLUMN `Backtrace` longtext NULL;
+INSERT INTO SystemSettings VALUES(DEFAULT, 'SemaphoreLifetimeInSeconds', '300', 'In-Portal', 'in-portal:configure_advanced', 'la_section_SettingsSystem', 'la_config_SemaphoreLifetimeInSeconds', 'text', '', 'style=\"width: 50px;\"', 60.1, 0, 1, 'hint:la_config_SemaphoreLifetimeInSeconds');
