r23588 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23587‎ | r23588 | r23589 >
Date:10:15, 30 June 2007
Author:aaron
Status:old
Tags:
Comment:
*PG too
Modified paths:
  • /trunk/extensions/CheckUser/cu_changes.pg.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/cu_changes.pg.sql
@@ -7,24 +7,25 @@
88
99 CREATE SEQUENCE cu_changes_cu_id_seq;
1010 CREATE TABLE cu_changes (
11 - cuc_id INTEGER NOT NULL DEFAULT nextval('cu_changes_cu_id_seq'),
12 - cuc_namespace SMALLINT NOT NULL DEFAULT 0,
13 - cuc_title TEXT NOT NULL DEFAULT '',
14 - cuc_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
15 - cuc_user_text TEXT NOT NULL,
16 - cuc_actiontext TEXT NOT NULL DEFAULT '',
17 - cuc_comment TEXT NOT NULL DEFAULT '',
18 - cuc_minor CHAR NOT NULL DEFAULT '0',
19 - cuc_page_id INTEGER NULL REFERENCES page(page_id) ON DELETE SET NULL,
20 - cuc_this_oldid INTEGER NOT NULL DEFAULT 0,
21 - cuc_last_oldid INTEGER NOT NULL default 0,
22 - cuc_type SMALLINT NOT NULL default '0',
23 - cuc_timestamp TIMESTAMPTZ,
24 - cuc_ip CIDR,
25 - cuc_ip_hex TEXT,
26 - cuc_xff TEXT,
27 - cuc_xff_hex TEXT,
28 - cuc_agent TEXT
 11+ cuc_id INTEGER NOT NULL DEFAULT nextval('cu_changes_cu_id_seq'),
 12+ cuc_namespace SMALLINT NOT NULL DEFAULT 0,
 13+ cuc_title TEXT NOT NULL DEFAULT '',
 14+ cuc_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
 15+ cuc_user_text TEXT NOT NULL,
 16+ cuc_actiontext TEXT NOT NULL DEFAULT '',
 17+ cuc_comment TEXT NOT NULL DEFAULT '',
 18+ cuc_minor CHAR NOT NULL DEFAULT '0',
 19+ cuc_page_id INTEGER NULL REFERENCES page(page_id) ON DELETE SET NULL,
 20+ cuc_this_oldid INTEGER NOT NULL DEFAULT 0,
 21+ cuc_last_oldid INTEGER NOT NULL default 0,
 22+ cuc_type SMALLINT NOT NULL default '0',
 23+ cuc_timestamp TIMESTAMPTZ,
 24+ cuc_ip CIDR,
 25+ cuc_ip_hex TEXT,
 26+ cuc_xff TEXT,
 27+ cuc_xff_hex TEXT,
 28+ cuc_agent TEXT,
 29+ cuc_cookie_user TEXT
2930 );
3031
3132 CREATE INDEX cu_changes_index ON cu_changes(cuc_user, cuc_ip_hex, cuc_xff_hex, cuc_timestamp);

Status & tagging log