summaryrefslogtreecommitdiff
path: root/app/models/sent_notification.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-09-06 07:48:48 -0700
committerStan Hu <stanhu@gmail.com>2015-09-06 07:48:48 -0700
commitd7812a95cf518dfa1565a0514b87fb40f86949e5 (patch)
treec75bfbe54a1defbec2bdcb9626ab3c1c5a09fd06 /app/models/sent_notification.rb
parent50f76ae0eae29f7362702da274055f76a350ee6f (diff)
downloadgitlab-ce-d7812a95cf518dfa1565a0514b87fb40f86949e5.tar.gz
Re-annotate models
Diffstat (limited to 'app/models/sent_notification.rb')
-rw-r--r--app/models/sent_notification.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/sent_notification.rb b/app/models/sent_notification.rb
index 460ca40be3f..33b113a2a27 100644
--- a/app/models/sent_notification.rb
+++ b/app/models/sent_notification.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: sent_notifications
+#
+# id :integer not null, primary key
+# project_id :integer
+# noteable_id :integer
+# noteable_type :string(255)
+# recipient_id :integer
+# commit_id :string(255)
+# reply_key :string(255) not null
+#
+
class SentNotification < ActiveRecord::Base
belongs_to :project
belongs_to :noteable, polymorphic: true