Commit c898dc00dca49e8a073421cbfe0765254e52fed8
1 parent
0f31acd0
Exists in
spb-stable
and in
3 other branches
Make the db and statemachine default is the same
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/merge_request_diff.rb
... | ... | @@ -26,7 +26,7 @@ class MergeRequestDiff < ActiveRecord::Base |
26 | 26 | |
27 | 27 | delegate :target_branch, :source_branch, to: :merge_request, prefix: nil |
28 | 28 | |
29 | - state_machine :state, initial: :empty do | |
29 | + state_machine :state, initial: :collected do | |
30 | 30 | state :collected |
31 | 31 | state :timeout |
32 | 32 | state :overflow_commits_safe_size | ... | ... |