diff options
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 -# - |