r23333 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23332‎ | r23333 | r23334 >
Date:18:44, 24 June 2007
Author:aaron
Status:old
Tags:
Comment:
Add new oldimage column stuff
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -77,6 +77,7 @@
7878 array( 'revision', 'rev_parent_id', 'patch-rev_parent_id.sql' ),
7979 array( 'page_restrictions', 'pr_id', 'patch-page_restrictions_sortkey.sql' ),
8080 array( 'ipblocks', 'ipb_block_email', 'patch-ipb_emailban.sql' ),
 81+ array( 'oldimage', 'oi_metadata', 'patch-oi_metadata.sql'),
8182 );
8283
8384 function rename_table( $from, $to, $patch ) {
@@ -1242,6 +1243,11 @@
12431244 array("logging", "log_params", "TEXT"),
12441245 array("mwuser", "user_editcount", "INTEGER"),
12451246 array("mwuser", "user_newpass_time", "TIMESTAMPTZ"),
 1247+ array("oldimage", "oi_metadata", "BYTEA NOT NULL"),
 1248+ array("oldimage", "oi_media_type", "TEXT NOT NULL"),
 1249+ array("oldimage", "oi_major_mime", "TEXT NOT NULL DEFAULT 'unknown'"),
 1250+ array("oldimage", "oi_minor_mime", "TEXT NOT NULL DEFAULT 'unknown'"),
 1251+ array("oldimage", "oi_deleted", "CHAR NOT NULL DEFAULT '0'"),
12461252 array("page_restrictions", "pr_id", "INTEGER NOT NULL UNIQUE DEFAULT nextval('pr_id_val')"),
12471253 array("recentchanges", "rc_deleted", "INTEGER NOT NULL DEFAULT 0"),
12481254 array("recentchanges", "rc_log_action", "TEXT"),

Follow-up revisions

RevisionCommit summaryAuthorDate
r23407Merged revisions 23203-23405 via svnmerge from...david23:00, 25 June 2007

Status & tagging log