r39713 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39712‎ | r39713 | r39714 >
Date:17:51, 20 August 2008
Author:greg
Status:old
Tags:
Comment:
Update to match postgres/tables.sql
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -1433,12 +1433,12 @@
14341434 array("archive", "ar_page_id", "INTEGER"),
14351435 array("archive", "ar_parent_id", "INTEGER"),
14361436 array("image", "img_sha1", "TEXT NOT NULL DEFAULT ''"),
1437 - array("ipblocks", "ipb_anon_only", "CHAR NOT NULL DEFAULT '0'"),
 1437+ array("ipblocks", "ipb_anon_only", "SMALLINT NOT NULL DEFAULT '0'"),
14381438 array("ipblocks", "ipb_by_text", "TEXT NOT NULL DEFAULT ''"),
1439 - array("ipblocks", "ipb_block_email", "CHAR NOT NULL DEFAULT '0'"),
1440 - array("ipblocks", "ipb_create_account", "CHAR NOT NULL DEFAULT '1'"),
 1439+ array("ipblocks", "ipb_block_email", "SMALLINT NOT NULL DEFAULT '0'"),
 1440+ array("ipblocks", "ipb_create_account", "SMALLINT NOT NULL DEFAULT '1'"),
14411441 array("ipblocks", "ipb_deleted", "SMALLINT NOT NULL DEFAULT 0"),
1442 - array("ipblocks", "ipb_enable_autoblock", "CHAR NOT NULL DEFAULT '1'"),
 1442+ array("ipblocks", "ipb_enable_autoblock", "SMALLINT NOT NULL DEFAULT '1'"),
14431443 array("filearchive", "fa_deleted", "SMALLINT NOT NULL DEFAULT 0"),
14441444 array("logging", "log_deleted", "SMALLINT NOT NULL DEFAULT 0"),
14451445 array("logging", "log_id", "INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('log_log_id_seq')"),

Status & tagging log