diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 22:24:05 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 22:24:05 +0400 |
commit | 95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch) | |
tree | f37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/milestone.rb | |
parent | c3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff) |
Annotated. schema updated
Diffstat (limited to 'app/models/milestone.rb')
-rw-r--r-- | app/models/milestone.rb | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb index 1dcc93bf2a4..a50831a2241 100644 --- a/app/models/milestone.rb +++ b/app/models/milestone.rb @@ -1,3 +1,17 @@ +# == Schema Information +# +# Table name: milestones +# +# id :integer not null, primary key +# title :string(255) not null +# project_id :integer not null +# description :text +# due_date :date +# closed :boolean default(FALSE), not null +# created_at :datetime not null +# updated_at :datetime not null +# + class Milestone < ActiveRecord::Base attr_accessible :title, :description, :due_date, :closed @@ -39,18 +53,3 @@ class Milestone < ActiveRecord::Base "expires at #{due_date.stamp("Aug 21, 2011")}" if due_date end end - -# == Schema Information -# -# Table name: milestones -# -# id :integer not null, primary key -# title :string(255) not null -# project_id :integer not null -# description :text -# due_date :date -# closed :boolean default(FALSE), not null -# created_at :datetime not null -# updated_at :datetime not null -# - |