Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-04 20:42:10 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-06 09:27:46 +0300
commit47da013cf83b4a42fc9f4b049d8ba41dc3f325d2 (patch)
treef0e56c0ffedd1bff048a91c736d96b9b6365e2a6 /app/models/spam_log.rb
parentc583433862558550c8caedb03217880568dcdefc (diff)
Annotate the models
Diffstat (limited to 'app/models/spam_log.rb')
-rw-r--r--app/models/spam_log.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/models/spam_log.rb b/app/models/spam_log.rb
index 12df68ef83b..f49eb7d88e2 100644
--- a/app/models/spam_log.rb
+++ b/app/models/spam_log.rb
@@ -1,3 +1,20 @@
+# == Schema Information
+#
+# Table name: spam_logs
+#
+# id :integer not null, primary key
+# user_id :integer
+# source_ip :string
+# user_agent :string
+# via_api :boolean
+# project_id :integer
+# noteable_type :string
+# title :string
+# description :text
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
class SpamLog < ActiveRecord::Base
belongs_to :user