Commit 0de7a7cfcdd1556a3353f8d88053db54a0844ed3
1 parent
b2cab1c5
Exists in
spb-stable
and in
3 other branches
Add default value for Project#imported boolean
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/models/project.rb
| ... | ... | @@ -28,6 +28,8 @@ class Project < ActiveRecord::Base |
| 28 | 28 | include Gitlab::VisibilityLevel |
| 29 | 29 | extend Enumerize |
| 30 | 30 | |
| 31 | + default_value_for :imported, false | |
| 32 | + | |
| 31 | 33 | ActsAsTaggableOn.strict_case_match = true |
| 32 | 34 | |
| 33 | 35 | attr_accessible :name, :path, :description, :issues_tracker, :label_list, | ... | ... |