Commit c898dc00dca49e8a073421cbfe0765254e52fed8

Authored by Jeroen van Baarsen
1 parent 0f31acd0

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,7 +26,7 @@ class MergeRequestDiff < ActiveRecord::Base
26 26
27 delegate :target_branch, :source_branch, to: :merge_request, prefix: nil 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 state :collected 30 state :collected
31 state :timeout 31 state :timeout
32 state :overflow_commits_safe_size 32 state :overflow_commits_safe_size