r86167 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86166‎ | r86167 | r86168 >
Date:01:07, 16 April 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed cruft page (before extension split)
Modified paths:
  • /trunk/extensions/FlaggedRevs/schema/postgres/patch-reader_feedback.sql (deleted) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/schema/postgres/patch-reader_feedback.sql
@@ -1,31 +0,0 @@
2 -
3 -BEGIN;
4 -
5 -CREATE TABLE reader_feedback (
6 - rfb_rev_id INTEGER NOT NULL DEFAULT 0,
7 - rfb_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
8 - rfb_ip TEXT NOT NULL DEFAULT '',
9 - PRIMARY KEY (rfb_rev_id,rfb_user,rfb_ip)
10 -);
11 -
12 -CREATE TABLE reader_feedback_history (
13 - rfh_page_id INTEGER NOT NULL DEFAULT 0,
14 - rfh_tag TEXT NOT NULL DEFAULT '',
15 - rfh_total INTEGER NOT NULL DEFAULT 0,
16 - rfh_count INTEGER NOT NULL DEFAULT 0,
17 - -- MW date of the day this average corresponds to
18 - rfh_date TEXT NOT NULL DEFAULT '',
19 - PRIMARY KEY (rfh_page_id,rfh_tag,rfh_date)
20 -);
21 -
22 -CREATE TABLE reader_feedback_pages (
23 - rfp_page_id INTEGER NOT NULL DEFAULT 0,
24 - rfp_tag TEXT NOT NULL DEFAULT '',
25 - rfp_ave_val REAL NOT NULL DEFAULT 0,
26 - rfp_count INTEGER NOT NULL DEFAULT 0,
27 - rfp_touched TIMESTAMPTZ NULL,
28 - PRIMARY KEY (rfp_page_id,rfp_tag)
29 -);
30 -CREATE INDEX rfp_tag_val_page ON reader_feedback_pages (rfp_tag,rfp_ave_val,rfp_page_id)
31 -
32 -COMMIT;
\ No newline at end of file

Status & tagging log