r47867 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47866‎ | r47867 | r47868 >
Date:16:49, 27 February 2009
Author:greg
Status:ok
Tags:
Comment:
Whitespace consistency.
Modified paths:
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -555,11 +555,11 @@
556556 CREATE INDEX category_pages ON category(cat_pages);
557557
558558 CREATE TABLE change_tag (
559 - ct_rc_id INTEGER NULL,
560 - ct_log_id INTEGER NULL,
561 - ct_rev_id INTEGER NULL,
562 - ct_tag TEXT NOT NULL,
563 - ct_params TEXT NULL
 559+ ct_rc_id INTEGER NULL,
 560+ ct_log_id INTEGER NULL,
 561+ ct_rev_id INTEGER NULL,
 562+ ct_tag TEXT NOT NULL,
 563+ ct_params TEXT NULL
564564 );
565565 CREATE UNIQUE INDEX change_tag_rc_tag ON change_tag(ct_rc_id,ct_tag);
566566 CREATE UNIQUE INDEX change_tag_log_tag ON change_tag(ct_log_id,ct_tag);
@@ -567,17 +567,17 @@
568568 CREATE INDEX change_tag_tag_id ON change_tag(ct_tag,ct_rc_id,ct_rev_id,ct_log_id);
569569
570570 CREATE TABLE tag_summary (
571 - ts_rc_id INTEGER NULL,
572 - ts_log_id INTEGER NULL,
573 - ts_rev_id INTEGER NULL,
574 - ts_tags TEXT NOT NULL
 571+ ts_rc_id INTEGER NULL,
 572+ ts_log_id INTEGER NULL,
 573+ ts_rev_id INTEGER NULL,
 574+ ts_tags TEXT NOT NULL
575575 );
576576 CREATE UNIQUE INDEX tag_summary_rc_id ON tag_summary(ts_rc_id);
577577 CREATE UNIQUE INDEX tag_summary_log_id ON tag_summary(ts_log_id);
578578 CREATE UNIQUE INDEX tag_summary_rev_id ON tag_summary(ts_rev_id);
579579
580580 CREATE TABLE valid_tag (
581 - vt_tag TEXT NOT NULL PRIMARY KEY
 581+ vt_tag TEXT NOT NULL PRIMARY KEY
582582 );
583583
584584 CREATE TABLE mediawiki_version (
Index: trunk/phase3/maintenance/tables.sql
@@ -966,7 +966,7 @@
967967 math_html text,
968968
969969 -- MathML output from texvc, if any
970 - math_mathml text
 970+ math_mathml text
971971 ) /*$wgDBTableOptions*/;
972972
973973 CREATE UNIQUE INDEX /*i*/math_inputhash ON /*_*/math (math_inputhash);
@@ -1237,11 +1237,11 @@
12381238
12391239 -- A table to track tags for revisions, logs and recent changes.
12401240 CREATE TABLE /*_*/change_tag (
1241 - ct_rc_id int NULL,
1242 - ct_log_id int NULL,
1243 - ct_rev_id int NULL,
1244 - ct_tag varchar(255) NOT NULL,
1245 - ct_params BLOB NULL
 1241+ ct_rc_id int NULL,
 1242+ ct_log_id int NULL,
 1243+ ct_rev_id int NULL,
 1244+ ct_tag varchar(255) NOT NULL,
 1245+ ct_params blob NULL
12461246 ) /*$wgDBTableOptions*/;
12471247
12481248 CREATE UNIQUE INDEX /*i*/change_tag_rc_tag ON /*_*/change_tag (ct_rc_id,ct_tag);
@@ -1253,10 +1253,10 @@
12541254
12551255 -- Rollup table to pull a LIST of tags simply without ugly GROUP_CONCAT that only works on MySQL 4.1+
12561256 CREATE TABLE /*_*/tag_summary (
1257 - ts_rc_id int NULL,
1258 - ts_log_id int NULL,
1259 - ts_rev_id int NULL,
1260 - ts_tags BLOB NOT NULL
 1257+ ts_rc_id int NULL,
 1258+ ts_log_id int NULL,
 1259+ ts_rev_id int NULL,
 1260+ ts_tags blob NOT NULL
12611261 ) /*$wgDBTableOptions*/;
12621262
12631263 CREATE UNIQUE INDEX /*i*/tag_summary_rc_id ON /*_*/tag_summary (ts_rc_id);
@@ -1265,7 +1265,7 @@
12661266
12671267
12681268 CREATE TABLE /*_*/valid_tag (
1269 - vt_tag varchar(255) NOT NULL PRIMARY KEY
 1269+ vt_tag varchar(255) NOT NULL PRIMARY KEY
12701270 ) /*$wgDBTableOptions*/;
12711271
12721272

Status & tagging log