r108539 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108538‎ | r108539 | r108540 >
Date:19:59, 10 January 2012
Author:bsitu
Status:ok
Tags:
Comment:
followup to -r108187 - Add mbfr_user_id as index for my response filter
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.hooks.php (modified) (history)
  • /trunk/extensions/MoodBar/sql/mbfr_user_id_index.sql (added) (history)
  • /trunk/extensions/MoodBar/sql/moodbar_feedback_response.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/MoodBar.hooks.php
@@ -144,6 +144,7 @@
145145 ) );
146146 $updater->addExtensionIndex( 'moodbar_feedback_response', 'mbfr_mbf_mbfr_id', "$dir/mbfr_mbf_mbfr_id_index.sql" );
147147 $updater->addExtensionField( 'moodbar_feedback_response', 'mbfr_enotif_sent', "$dir/mbfr_enotif_sent.sql" );
 148+ $updater->addExtensionIndex( 'moodbar_feedback_response', 'mbfr_user_id', "$dir/mbfr_user_id_index.sql" );
148149
149150 return true;
150151 }
Index: trunk/extensions/MoodBar/sql/moodbar_feedback_response.sql
@@ -25,3 +25,4 @@
2626
2727 CREATE INDEX /*i*/mbfr_mbf_id ON /*_*/moodbar_feedback_response (mbfr_mbf_id);
2828 CREATE INDEX /*i*/mbfr_mbf_mbfr_id ON /*_*/moodbar_feedback_response (mbfr_mbf_id, mbfr_id);
 29+CREATE INDEX /*i*/mbfr_user_id ON /*_*/moodbar_feedback_response (mbfr_user_id);
Index: trunk/extensions/MoodBar/sql/mbfr_user_id_index.sql
@@ -0,0 +1 @@
 2+CREATE INDEX /*i*/mbfr_user_id ON /*_*/moodbar_feedback_response (mbfr_user_id);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108187Adding "Show unanswered" filter to feedback dashboardbsitu00:05, 6 January 2012

Status & tagging log