Commit 3d3e40c251179654d136d9838087f275c549e827
1 parent
8f08fbfd
Exists in
master
and in
4 other branches
Personal snippet model added
Showing
2 changed files
with
25 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +# == Schema Information | |
| 2 | +# | |
| 3 | +# Table name: snippets | |
| 4 | +# | |
| 5 | +# id :integer not null, primary key | |
| 6 | +# title :string(255) | |
| 7 | +# content :text | |
| 8 | +# author_id :integer not null | |
| 9 | +# project_id :integer not null | |
| 10 | +# created_at :datetime not null | |
| 11 | +# updated_at :datetime not null | |
| 12 | +# file_name :string(255) | |
| 13 | +# expires_at :datetime | |
| 14 | +# type :string(255) | |
| 15 | +# private :boolean | |
| 16 | + | |
| 17 | +class PersonalSnippet < Snippet | |
| 18 | +end | ... | ... |
spec/factories.rb