r81574 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81573‎ | r81574 | r81575 >
Date:22:20, 5 February 2011
Author:mah
Status:ok (Comments)
Tags:
Comment:
followup r13884 add CASCADE so that if the tables are created a second
time, errors aren't given.
Modified paths:
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -9,20 +9,20 @@
1010 BEGIN;
1111 SET client_min_messages = 'ERROR';
1212
13 -DROP SEQUENCE IF EXISTS user_user_id_seq;
14 -DROP SEQUENCE IF EXISTS page_page_id_seq;
15 -DROP SEQUENCE IF EXISTS revision_rev_id_seq;
16 -DROP SEQUENCE IF EXISTS page_restrictions_id_seq;
17 -DROP SEQUENCE IF EXISTS ipblocks_ipb_id_seq;
18 -DROP SEQUENCE IF EXISTS recentchanges_rc_id_seq;
19 -DROP SEQUENCE IF EXISTS logging_log_id_seq;
20 -DROP SEQUENCE IF EXISTS trackbacks_tb_id_seq;
21 -DROP SEQUENCE IF EXISTS job_job_id_seq;
22 -DROP SEQUENCE IF EXISTS category_cat_id_seq;
23 -DROP FUNCTION IF EXISTS page_deleted();
24 -DROP FUNCTION IF EXISTS ts2_page_title();
25 -DROP FUNCTION IF EXISTS ts2_page_text();
26 -DROP FUNCTION IF EXISTS add_interwiki(TEXT,INT,SMALLINT);
 13+DROP SEQUENCE IF EXISTS user_user_id_seq CASCADE;
 14+DROP SEQUENCE IF EXISTS page_page_id_seq CASCADE;
 15+DROP SEQUENCE IF EXISTS revision_rev_id_seq CASCADE;
 16+DROP SEQUENCE IF EXISTS page_restrictions_id_seq CASCADE;
 17+DROP SEQUENCE IF EXISTS ipblocks_ipb_id_seq CASCADE;
 18+DROP SEQUENCE IF EXISTS recentchanges_rc_id_seq CASCADE;
 19+DROP SEQUENCE IF EXISTS logging_log_id_seq CASCADE;
 20+DROP SEQUENCE IF EXISTS trackbacks_tb_id_seq CASCADE;
 21+DROP SEQUENCE IF EXISTS job_job_id_seq CASCADE;
 22+DROP SEQUENCE IF EXISTS category_cat_id_seq CASCADE;
 23+DROP FUNCTION IF EXISTS page_deleted() CASCADE;
 24+DROP FUNCTION IF EXISTS ts2_page_title() CASCADE;
 25+DROP FUNCTION IF EXISTS ts2_page_text() CASCADE;
 26+DROP FUNCTION IF EXISTS add_interwiki(TEXT,INT,SMALLINT) CASCADE;
2727
2828 CREATE SEQUENCE user_user_id_seq MINVALUE 0 START WITH 0;
2929 CREATE TABLE mwuser ( -- replace reserved word 'user'

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r13884Adding MediaWiki extension capability (now works live from database)magnusmanske09:46, 27 April 2006

Comments

#Comment by MarkAHershberger (talk | contribs)   22:28, 5 February 2011

argh followup rev is r81439

Status & tagging log