Index: branches/5.0.x/core/install/upgrades.sql
===================================================================
diff -u -r12639 -r12641
--- branches/5.0.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 12639)
+++ branches/5.0.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 12641)
@@ -1523,3 +1523,9 @@
 	DROP l3_Translated,
 	DROP l4_Translated,
 	DROP l5_Translated;
+
+ALTER TABLE Category
+	CHANGE CachedTemplate CachedTemplate varchar(255) NOT NULL DEFAULT '',
+	CHANGE ThemeId ThemeId int(10) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE UserSession CHANGE BrowserSignature BrowserSignature varchar(32) NOT NULL DEFAULT '';
\ No newline at end of file
