r72350 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72349‎ | r72350 | r72351 >
Date:04:10, 4 September 2010
Author:overlordq
Status:ok
Tags:
Comment:
Followup to r72349, PG tables + updater
Modified paths:
  • /trunk/phase3/includes/installer/PostgresUpdater.php (modified) (history)
  • /trunk/phase3/maintenance/postgres/archives/patch-msg_resource.sql (added) (history)
  • /trunk/phase3/maintenance/postgres/archives/patch-msg_resource_links.sql (added) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/archives/patch-msg_resource.sql
@@ -0,0 +1,8 @@
 2+CREATE TABLE msg_resource (
 3+ mr_resource TEXT NOT NULL,
 4+ mr_lang TEXT NOT NULL,
 5+ mr_blob TEXT NOT NULL,
 6+ mr_timestamp TIMESTAMPTZ NOT NULL
 7+);
 8+
 9+CREATE UNIQUE INDEX mr_resource_lang_idx ON msg_resource (mr_resource, mr_lang);
Property changes on: trunk/phase3/maintenance/postgres/archives/patch-msg_resource.sql
___________________________________________________________________
Added: svn:eol-style
110 + native
Index: trunk/phase3/maintenance/postgres/archives/patch-msg_resource_links.sql
@@ -0,0 +1,6 @@
 2+CREATE TABLE msg_resource_links (
 3+ mrl_resource TEXT NOT NULL,
 4+ mrl_message TEXT NOT NULL
 5+);
 6+
 7+CREATE UNIQUE INDEX mrl_message_resource_idx ON msg_resource_links (mrl_message, mrl_resource);
Property changes on: trunk/phase3/maintenance/postgres/archives/patch-msg_resource_links.sql
___________________________________________________________________
Added: svn:eol-style
18 + native
Index: trunk/phase3/includes/installer/PostgresUpdater.php
@@ -55,6 +55,8 @@
5656 array( 'addTable', 'log_search', 'patch-log_search.sql' ),
5757 array( 'addTable', 'l10n_cache', 'patch-l10n_cache.sql' ),
5858 array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ),
 59+ array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ),
 60+ array( 'addTable', 'msg_resource_links','patch-msg_resource_links.sql' ),
5961
6062 # Needed before new field
6163 array( 'convertArchive2' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72349Merging resourceloader branch into trunk. Full documentation is at http://www...catrope04:00, 4 September 2010

Status & tagging log