r105172 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105171‎ | r105172 | r105173 >
Date:12:48, 5 December 2011
Author:catrope
Status:deferred
Tags:
Comment:
AFTv5: Fix some typos and whitespace in the .sql file
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/sql/ArticleFeedbackv5.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/sql/ArticleFeedbackv5.sql
@@ -62,14 +62,14 @@
6363 ) /*$wgDBTableOptions*/;
6464
6565 CREATE TABLE IF NOT EXISTS /*_*/aft_article_answer (
66 - -- FKEY to article_feedback.aa_id)
 66+ -- FKEY to article_feedback.af_id)
6767 aa_feedback_id integer unsigned NOT NULL,
68 - -- FKEY to article_fields.article_field_id)
 68+ -- FKEY to article_field.afi_id)
6969 aa_field_id integer unsigned NOT NULL,
7070 aa_response_rating integer NULL,
7171 aa_response_text text NULL,
7272 aa_response_boolean boolean NULL,
73 - -- FKey to article_field_options.option_id)
 73+ -- FKey to article_field_options.afo_option_id)
7474 aa_response_option_id integer unsigned NULL,
7575 PRIMARY KEY (aa_feedback_id, aa_field_id)
7676 ) /*$wgDBTableOptions*/;
@@ -100,16 +100,16 @@
101101 ) /*$wgDBTableOptions*/;
102102
103103 CREATE TABLE IF NOT EXISTS /*_*/aft_article_revision_feedback_select_rollup (
104 - arfsr_page_id integer unsigned NOT NULL,
105 - arfsr_revision_id integer unsigned NOT NULL,
106 - arfsr_option_id integer unsigned NOT NULL,
107 - arfsr_total integer unsigned NOT NULL,
108 - arfsr_count integer unsigned NOT NULL,
109 - PRIMARY KEY (arfsr_revision_id, arfsr_option_id)
 104+ arfsr_page_id integer unsigned NOT NULL,
 105+ arfsr_revision_id integer unsigned NOT NULL,
 106+ arfsr_option_id integer unsigned NOT NULL,
 107+ arfsr_total integer unsigned NOT NULL,
 108+ arfsr_count integer unsigned NOT NULL,
 109+ PRIMARY KEY (arfsr_revision_id, arfsr_option_id)
110110 ) /*$wgDBTableOptions*/;
111111
112 -CREATE TABLE IF NOT EXISTS /*_*/aft_article_feedback_properties (
 112+-- Mostly taken from AFTv4
 113+CREATE TABLE IF NOT EXISTS /*_*/aft_article_feedback_properties (
113114 -- Keys to article_feedback.aa_id
114115 afp_feedback_id integer unsigned NOT NULL,
115116 -- Key/value pair - allow text or numerical metadata

Status & tagging log