Commit ccefc95e125534cf237e015c7dd78f465a966e47
Exists in
master
and in
4 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
4 changed files
with
10 additions
and
14 deletions
Show diff stats
app/models/issue.rb
| ... | ... | @@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base |
| 19 | 19 | :presence => true, |
| 20 | 20 | :length => { :within => 0..255 } |
| 21 | 21 | |
| 22 | - #validates :content, | |
| 23 | - #:presence => true, | |
| 24 | - #:length => { :within => 0..2000 } | |
| 25 | - | |
| 26 | 22 | scope :critical, where(:critical => true) |
| 27 | 23 | scope :non_critical, where(:critical => false) |
| 28 | 24 | |
| ... | ... | @@ -46,7 +42,6 @@ end |
| 46 | 42 | # |
| 47 | 43 | # id :integer not null, primary key |
| 48 | 44 | # title :string(255) |
| 49 | -# content :text | |
| 50 | 45 | # assignee_id :integer |
| 51 | 46 | # author_id :integer |
| 52 | 47 | # project_id :integer | ... | ... |
app/models/user.rb
| ... | ... | @@ -64,9 +64,10 @@ end |
| 64 | 64 | # updated_at :datetime |
| 65 | 65 | # name :string(255) |
| 66 | 66 | # admin :boolean default(FALSE), not null |
| 67 | -# projects_limit :integer | |
| 68 | -# skype :string | |
| 69 | -# linkedin :string | |
| 70 | -# twitter :string | |
| 67 | +# projects_limit :integer default(10) | |
| 68 | +# skype :string(255) default(""), not null | |
| 69 | +# linkedin :string(255) default(""), not null | |
| 70 | +# twitter :string(255) default(""), not null | |
| 71 | +# authentication_token :string(255) | |
| 71 | 72 | # |
| 72 | 73 | ... | ... |
spec/models/issue_spec.rb
spec/models/user_spec.rb
| ... | ... | @@ -58,9 +58,10 @@ end |
| 58 | 58 | # updated_at :datetime |
| 59 | 59 | # name :string(255) |
| 60 | 60 | # admin :boolean default(FALSE), not null |
| 61 | -# projects_limit :integer | |
| 62 | -# skype :string | |
| 63 | -# linkedin :string | |
| 64 | -# twitter :string | |
| 61 | +# projects_limit :integer default(10) | |
| 62 | +# skype :string(255) default(""), not null | |
| 63 | +# linkedin :string(255) default(""), not null | |
| 64 | +# twitter :string(255) default(""), not null | |
| 65 | +# authentication_token :string(255) | |
| 65 | 66 | # |
| 66 | 67 | ... | ... |