r101397 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101396‎ | r101397 | r101398 >
Date:20:03, 31 October 2011
Author:overlordq
Status:ok
Tags:
Comment:
Followup to r101021, add back to Pg schema so we can install mediawiki
Modified paths:
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -116,7 +116,8 @@
117117 rev_minor_edit SMALLINT NOT NULL DEFAULT 0,
118118 rev_deleted SMALLINT NOT NULL DEFAULT 0,
119119 rev_len INTEGER NULL,
120 - rev_parent_id INTEGER NULL
 120+ rev_parent_id INTEGER NULL,
 121+ rev_sha1 TEXT NOT NULL DEFAULT ''
121122 );
122123 CREATE UNIQUE INDEX revision_unique ON revision (rev_page, rev_id);
123124 CREATE INDEX rev_text_id_idx ON revision (rev_text_id);
@@ -159,6 +160,7 @@
160161 ar_text TEXT, -- technically should be bytea, but not used anymore
161162 ar_page_id INTEGER NULL,
162163 ar_parent_id INTEGER NULL,
 164+ ar_sha1 TEXT NOT NULL DEFAULT '',
163165 ar_comment TEXT,
164166 ar_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED,
165167 ar_user_text TEXT NOT NULL,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101021Reinstated r94289 et all - rev_sha1/ar_sha1 field for bug 21860aaron18:44, 27 October 2011

Status & tagging log