Commit 5f14a6bcf8ca5ec4325bae401069c3a03a617bd0
1 parent
a31fe1a6
Exists in
master
and in
4 other branches
annotated
Showing
4 changed files
with
4 additions
and
0 deletions
Show diff stats
app/models/project.rb
| @@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
| 18 | # public :boolean default(FALSE), not null | 18 | # public :boolean default(FALSE), not null |
| 19 | # issues_tracker :string(255) default("gitlab"), not null | 19 | # issues_tracker :string(255) default("gitlab"), not null |
| 20 | # issues_tracker_id :string(255) | 20 | # issues_tracker_id :string(255) |
| 21 | +# snippets_enabled :boolean default(TRUE), not null | ||
| 21 | # | 22 | # |
| 22 | 23 | ||
| 23 | require "grit" | 24 | require "grit" |
app/models/user.rb
| @@ -33,6 +33,7 @@ | @@ -33,6 +33,7 @@ | ||
| 33 | # can_create_team :boolean default(TRUE), not null | 33 | # can_create_team :boolean default(TRUE), not null |
| 34 | # state :string(255) | 34 | # state :string(255) |
| 35 | # color_scheme_id :integer default(1), not null | 35 | # color_scheme_id :integer default(1), not null |
| 36 | +# notification_level :integer default(1), not null | ||
| 36 | # | 37 | # |
| 37 | 38 | ||
| 38 | class User < ActiveRecord::Base | 39 | class User < ActiveRecord::Base |
spec/models/project_spec.rb
| @@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
| 18 | # public :boolean default(FALSE), not null | 18 | # public :boolean default(FALSE), not null |
| 19 | # issues_tracker :string(255) default("gitlab"), not null | 19 | # issues_tracker :string(255) default("gitlab"), not null |
| 20 | # issues_tracker_id :string(255) | 20 | # issues_tracker_id :string(255) |
| 21 | +# snippets_enabled :boolean default(TRUE), not null | ||
| 21 | # | 22 | # |
| 22 | 23 | ||
| 23 | require 'spec_helper' | 24 | require 'spec_helper' |
spec/models/user_spec.rb
| @@ -33,6 +33,7 @@ | @@ -33,6 +33,7 @@ | ||
| 33 | # can_create_team :boolean default(TRUE), not null | 33 | # can_create_team :boolean default(TRUE), not null |
| 34 | # state :string(255) | 34 | # state :string(255) |
| 35 | # color_scheme_id :integer default(1), not null | 35 | # color_scheme_id :integer default(1), not null |
| 36 | +# notification_level :integer default(1), not null | ||
| 36 | # | 37 | # |
| 37 | 38 | ||
| 38 | require 'spec_helper' | 39 | require 'spec_helper' |