Skip to content

Commit 16ac036

Browse files
committed
Missing queries affecting a fresn install, closes #1347 and #1346
1 parent 7129097 commit 16ac036

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

sql/ushahidi.sql

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,23 @@ CREATE TABLE IF NOT EXISTS `feed_item` (
624624

625625
-- --------------------------------------------------------
626626

627+
/**
628+
* Table structure for table `feed_item_category`
629+
*
630+
*/
631+
632+
CREATE TABLE IF NOT EXISTS `feed_item_category` (
633+
`id` int(11) NOT NULL AUTO_INCREMENT,
634+
`feed_item_id` bigint(20) unsigned NOT NULL DEFAULT '0',
635+
`category_id` int(11) unsigned NOT NULL DEFAULT '0',
636+
PRIMARY KEY (`id`),
637+
UNIQUE KEY `feed_item_category_ids` (`feed_item_id`,`category_id`),
638+
KEY `feed_item_id` (`feed_item_id`),
639+
KEY `category_id` (`category_id`)
640+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stores fetched feed items categories' AUTO_INCREMENT=1 ;
641+
642+
-- --------------------------------------------------------
643+
627644
/**
628645
* Table structure for table `form`
629646
*
@@ -1384,6 +1401,7 @@ VALUES
13841401
(63,'manually_approve_users','0'),
13851402
(64,'enable_timeline','0'),
13861403
(65,'feed_geolocation_user', '');
1404+
(65,'allow_feed_category', '0');
13871405
-- --------------------------------------------------------
13881406

13891407
/**

0 commit comments

Comments
 (0)