summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-12-27 14:34:39 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-12-27 14:34:39 +0100
commita582fe69b1f262554fa6197af7be5050424ae0d7 (patch)
tree9a8754011e907e402b75c0857ba039417fb9038d
parent80541c29a9870a22572222d800975404425977f1 (diff)
downloadbugzilla-a582fe69b1f262554fa6197af7be5050424ae0d7.tar.gz
bugzilla-a582fe69b1f262554fa6197af7be5050424ae0d7.tar.xz
Migrate: Set description creation time after creation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--Bugzilla/Migrate.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm
index df30e34cb..5058bc6f7 100644
--- a/Bugzilla/Migrate.pm
+++ b/Bugzilla/Migrate.pm
@@ -783,6 +783,9 @@ sub insert_bugs {
$dbh->do('UPDATE bugs SET creation_ts = ?, delta_ts = ?
WHERE bug_id = ?', undef, $bug->{creation_ts},
$bug->{creation_ts}, $created->id);
+ $dbh->do('UPDATE longdescs SET bug_when = ?
+ WHERE bug_id = ?', undef, $bug->{creation_ts},
+ $created->id);
}
if (defined $bug->{delta_ts}) {
$dbh->do('UPDATE bugs SET delta_ts = ? WHERE bug_id = ?',