summaryrefslogtreecommitdiff
path: root/app/models/project_snippet.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 15:40:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 15:40:33 +0300
commit6e35aceff29ddeae6282de31e81e48446ab927fa (patch)
tree34e777e35797f2d55ce82a3e807323523dda74be /app/models/project_snippet.rb
parent78680a81774d67997fa0abece4dc1d4a5ec12ce6 (diff)
downloadgitlab-ce-6e35aceff29ddeae6282de31e81e48446ab927fa.tar.gz
Annotated
Diffstat (limited to 'app/models/project_snippet.rb')
-rw-r--r--app/models/project_snippet.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/models/project_snippet.rb b/app/models/project_snippet.rb
index a86f2e7a32f..14c88046423 100644
--- a/app/models/project_snippet.rb
+++ b/app/models/project_snippet.rb
@@ -6,13 +6,14 @@
# 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
+# project_id :integer
+# created_at :datetime
+# updated_at :datetime
# file_name :string(255)
# expires_at :datetime
+# private :boolean default(TRUE), not null
# type :string(255)
-# private :boolean
+#
class ProjectSnippet < Snippet
belongs_to :project