From: Leon Weber Date: Thu, 14 Dec 2006 15:34:56 +0000 (+0000) Subject: * Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be X-Git-Tag: 1.31.0-rc.0~54904 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=6061d1db2c2ccebd0c36c8670c2d31e2fe9a28d6;p=lhc%2Fweb%2Fwiklou.git * Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be --- diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index bf0328b0f6..00d8259a22 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -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);