Signed-off-by: Peter Spicer <sleeping@myperch.org>
@@ -234,6 +234,14 @@ ALTER TABLE {$db_prefix}boards
ADD COLUMN deny_member_groups varchar(255) NOT NULL DEFAULT '';
---#
+/******************************************************************************/
+--- Adding support for category descriptions
+---# Adding new columns to categories...
+ALTER TABLE {$db_prefix}categories
+ADD COLUMN description text NOT NULL;
+---#
+
/******************************************************************************/
--- Adding support for topic unwatch
@@ -295,6 +295,17 @@ upgrade_query("
---}
+---{
+upgrade_query("
+ ALTER TABLE {$db_prefix}categories
+ ADD COLUMN description text NOT NULL;");
+---}
@@ -267,6 +267,24 @@ $smcFunc['db_alter_table']('{db_prefix}boards', array(
+$smcFunc['db_alter_table']('{db_prefix}log_topics', array(
+ 'add' => array(
+ 'description' => array(
+ 'name' => 'description',
+ 'null' => false,
+ 'type' => 'text',
+ 'auto' => false,
+ ),
+ )
+));