Commit 5bf7869f authored by terry%mozilla.org's avatar terry%mozilla.org

If adding the new "lastdiffed" field, it works out better to

initialize it to "now", not to "delta_ts".
parent d1bb0a3b
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment