diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-10-22 16:48:03 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-10-22 16:48:03 +0100 |
commit | 0b28f2ac1af652c37eda35f944b5eb78f4adf5d1 (patch) | |
tree | 79fa9e8372ca98db5ea92dc09b2b8578886d5326 | |
parent | 47cbcc8b99766bbbfa4a3348868c4f61ede0cdb1 (diff) |
[Zurich] Don't migrate problem_state when converting internal notes
This caused issues with the comment.problem_state column constraints
when running on the vhost as some problems were marked as hidden
(under normal circumstances you can't add a comment to a hidden
problem). Because this column is nullable we simply don't add it
to avoid this issue.
-rwxr-xr-x | bin/zurich/convert_internal_notes_to_comments | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/zurich/convert_internal_notes_to_comments b/bin/zurich/convert_internal_notes_to_comments index e92be40b3..ddf74851f 100755 --- a/bin/zurich/convert_internal_notes_to_comments +++ b/bin/zurich/convert_internal_notes_to_comments @@ -60,7 +60,6 @@ while ( my $problem = $problems->next() ) { user => $comment_user, state => $comment_state, mark_fixed => 0, - problem_state => $problem->state, anonymous => 1, extra => { is_internal_note => 1 }, } |