* Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be
authorLeon Weber <leon@users.mediawiki.org>
Thu, 14 Dec 2006 15:34:56 +0000 (15:34 +0000)
committerLeon Weber <leon@users.mediawiki.org>
Thu, 14 Dec 2006 15:34:56 +0000 (15:34 +0000)
maintenance/postgres/tables.sql

index bf0328b..00d8259 100644 (file)
@@ -312,8 +312,8 @@ CREATE TABLE recentchanges (
   rc_moved_to_title  TEXT,
   rc_patrolled       CHAR         NOT NULL  DEFAULT '0',
   rc_ip              CIDR,
-  rc_old_len         INTEGER                DEFAULT '0',
-  rc_new_len         INTEGER                DEFAULT '0'
+  rc_old_len         INTEGER,
+  rc_new_len         INTEGER
 );
 CREATE INDEX rc_timestamp       ON recentchanges (rc_timestamp);
 CREATE INDEX rc_namespace_title ON recentchanges (rc_namespace, rc_title);