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/snippet.rb | |
parent | c3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff) | |
download | gitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz |
Annotated. schema updated
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 3525219e709..997c19bdb6b 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -1,3 +1,18 @@ +# == Schema Information +# +# Table name: snippets +# +# id :integer not null, primary key +# title :string(255) +# content :text +# author_id :integer not null +# project_id :integer not null +# created_at :datetime not null +# updated_at :datetime not null +# file_name :string(255) +# expires_at :datetime +# + class Snippet < ActiveRecord::Base include Linguist::BlobHelper @@ -48,19 +63,3 @@ class Snippet < ActiveRecord::Base expires_at && expires_at < Time.current end end - -# == Schema Information -# -# Table name: snippets -# -# id :integer not null, primary key -# title :string(255) -# content :text -# author_id :integer not null -# project_id :integer not null -# created_at :datetime not null -# updated_at :datetime not null -# file_name :string(255) -# expires_at :datetime -# - |