r94803 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94802‎ | r94803 | r94804 >
Date:19:45, 17 August 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix copy paste fail from r94802 per Myra

Remove the AddStatsHighsLowsTable.sql as it's not used any more
Modified paths:
  • /trunk/extensions/ArticleFeedback/sql/AddStatsHighsLowsTable.sql (deleted) (history)
  • /trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/sql/AddStatsHighsLowsTable.sql
@@ -1,11 +0,0 @@
2 -CREATE TABLE IF NOT EXISTS /*_*/article_feedback_stats_highs_lows (
3 - afshl_id integer unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
4 - afshl_page_id integer unsigned NOT NULL,
5 - -- combined average rating
6 - afshl_avg_overall double unsigned NOT NULL,
7 - -- json object of rating key => avg value
8 - afshl_avg_ratings varbinary(255) NOT NULL,
9 - -- timestamp of insertion job
10 - afshl_ts binary(14) NOT NULL
11 -) /*$wgDBTableOptions*/;
12 -CREATE INDEX /*i*/ afshl_ts_avg_overall ON /*_*/article_feedback_stats_highs_lows (afshl_ts, afshl_avg_overall);
Index: trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql
@@ -32,7 +32,6 @@
3333 aa_rating_value int unsigned NOT NULL,
3434 -- Which rating widget the user was given. Default of 0 is the "old" design
3535 aa_design_bucket int unsigned NOT NULL DEFAULT 0,
36 - aa_design_bucket int unsigned NOT NULL DEFAULT 0,
3736 -- 1 vote per user per revision
3837 PRIMARY KEY (aa_revision, aa_user_text, aa_rating_id, aa_user_anon_token)
3938 ) /*$wgDBTableOptions*/;

Follow-up revisions

RevisionCommit summaryAuthorDate
r94804Merge r94802, r94803 to make creation easierreedy19:50, 17 August 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94802Bug 30426 - Complicated database schema update procedure will make enabling A...reedy19:40, 17 August 2011

Status & tagging log