diff options
author | terry%mozilla.org <> | 2000-01-27 06:17:36 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-27 06:17:36 +0100 |
commit | 5bf7869f8b7d8c3bec9552081e13fdebb548b0cb (patch) | |
tree | 9ffef09fe619999e75465415fdecda7b38235e0e | |
parent | d1bb0a3bba3da676a86088b786e726f5032929d9 (diff) | |
download | bugzilla-5bf7869f8b7d8c3bec9552081e13fdebb548b0cb.tar.gz bugzilla-5bf7869f8b7d8c3bec9552081e13fdebb548b0cb.tar.xz |
If adding the new "lastdiffed" field, it works out better to
initialize it to "now", not to "delta_ts".
-rwxr-xr-x | checksetup.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |