From 5bf7869f8b7d8c3bec9552081e13fdebb548b0cb Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Thu, 27 Jan 2000 05:17:36 +0000 Subject: If adding the new "lastdiffed" field, it works out better to initialize it to "now", not to "delta_ts". --- checksetup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checksetup.pl b/checksetup.pl index 6f7f38559..f3937c0d1 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1348,7 +1348,7 @@ if (GetFieldDef('bugs_activity', 'field')) { if (!GetFieldDef('bugs', 'lastdiffed')) { AddField('bugs', 'lastdiffed', 'datetime not null'); - $dbh->do('UPDATE bugs SET lastdiffed = delta_ts, delta_ts = delta_ts'); + $dbh->do('UPDATE bugs SET lastdiffed = now(), delta_ts = delta_ts'); } AddField('profiles', 'newemailtech', 'tinyint not null'); -- cgit v1.2.3-24-g4f1b