r20312 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20311‎ | r20312 | r20313 >
Date:18:41, 10 March 2007
Author:aaron
Status:old
Tags:
Comment:
* Add ar_deleted to CREATE VIEW
Modified paths:
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -136,7 +136,7 @@
137137 ar_flags TEXT,
138138 ar_rev_id INTEGER,
139139 ar_text_id INTEGER,
140 - ar_deleted INTEGER NOT NULL DEFAULT '0',
 140+ ar_deleted INTEGER NOT NULL DEFAULT '0',
141141 );
142142 CREATE INDEX archive_name_title_timestamp ON archive2 (ar_namespace,ar_title,ar_timestamp);
143143
@@ -144,7 +144,7 @@
145145 CREATE VIEW archive AS
146146 SELECT
147147 ar_namespace, ar_title, ar_text, ar_comment, ar_user, ar_user_text,
148 - ar_minor_edit, ar_flags, ar_rev_id, ar_text_id,
 148+ ar_minor_edit, ar_flags, ar_rev_id, ar_text_id, ar_deleted,
149149 TO_CHAR(ar_timestamp, 'YYYYMMDDHH24MISS') AS ar_timestamp
150150 FROM archive2;
151151