Commit d74bf464d38da126bbc44ab39bac4b9e2adb12b4

Authored by Dmitriy Zaporozhets
1 parent dbb76103

Postgres requires not-null value for boolean field

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/project.rb
... ... @@ -33,6 +33,7 @@ class Project &lt; ActiveRecord::Base
33 33 default_value_for :issues_enabled, true
34 34 default_value_for :merge_requests_enabled, true
35 35 default_value_for :wiki_enabled, true
  36 + default_value_for :wall_enabled, false
36 37 default_value_for :snippets_enabled, true
37 38  
38 39 ActsAsTaggableOn.strict_case_match = true
... ...