diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 21:24:05 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 21:24:05 +0300 |
| commit | 95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch) | |
| tree | f37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/note.rb | |
| parent | c3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff) | |
| download | gitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz | |
Annotated. schema updated
Diffstat (limited to 'app/models/note.rb')
| -rw-r--r-- | app/models/note.rb | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index d7701c3815b..60846e04872 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -1,3 +1,19 @@ +# == Schema Information +# +# Table name: notes +# +# id :integer not null, primary key +# note :text +# noteable_id :string(255) +# noteable_type :string(255) +# author_id :integer +# created_at :datetime not null +# updated_at :datetime not null +# project_id :integer +# attachment :string(255) +# line_code :string(255) +# + require 'carrierwave/orm/activerecord' require 'file_size_validator' @@ -107,20 +123,3 @@ class Note < ActiveRecord::Base note.start_with?('-1') || note.start_with?(':-1:') end end - -# == Schema Information -# -# Table name: notes -# -# id :integer not null, primary key -# note :text -# noteable_id :string(255) -# noteable_type :string(255) -# author_id :integer -# created_at :datetime not null -# updated_at :datetime not null -# project_id :integer -# attachment :string(255) -# line_code :string(255) -# - |
