Commit ccefc95e authored by gitlabhq's avatar gitlabhq

Merge branch 'master' of github.com:gitlabhq/gitlabhq

parents 91d5a906 c4a575b7
...@@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base ...@@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base
:presence => true, :presence => true,
:length => { :within => 0..255 } :length => { :within => 0..255 }
#validates :content,
#:presence => true,
#:length => { :within => 0..2000 }
scope :critical, where(:critical => true) scope :critical, where(:critical => true)
scope :non_critical, where(:critical => false) scope :non_critical, where(:critical => false)
...@@ -46,7 +42,6 @@ end ...@@ -46,7 +42,6 @@ end
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text
# assignee_id :integer # assignee_id :integer
# author_id :integer # author_id :integer
# project_id :integer # project_id :integer
......
...@@ -64,9 +64,10 @@ end ...@@ -64,9 +64,10 @@ end
# updated_at :datetime # updated_at :datetime
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer # projects_limit :integer default(10)
# skype :string # skype :string(255) default(""), not null
# linkedin :string # linkedin :string(255) default(""), not null
# twitter :string # twitter :string(255) default(""), not null
# authentication_token :string(255)
# #
...@@ -31,7 +31,6 @@ end ...@@ -31,7 +31,6 @@ end
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text
# assignee_id :integer # assignee_id :integer
# author_id :integer # author_id :integer
# project_id :integer # project_id :integer
......
...@@ -58,9 +58,10 @@ end ...@@ -58,9 +58,10 @@ end
# updated_at :datetime # updated_at :datetime
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer # projects_limit :integer default(10)
# skype :string # skype :string(255) default(""), not null
# linkedin :string # linkedin :string(255) default(""), not null
# twitter :string # twitter :string(255) default(""), not null
# authentication_token :string(255)
# #
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment