mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Update annotations.
This commit is contained in:
@@ -89,7 +89,6 @@ end
|
||||
# user_id :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# reply_key :uuid
|
||||
# post_id :integer
|
||||
# skipped :boolean default(FALSE)
|
||||
# skipped_reason :string
|
||||
@@ -105,6 +104,5 @@ end
|
||||
# index_email_logs_on_post_id (post_id)
|
||||
# index_email_logs_on_reply_key (reply_key)
|
||||
# index_email_logs_on_skipped_and_bounced_and_created_at (skipped,bounced,created_at)
|
||||
# index_email_logs_on_topic_id (topic_id)
|
||||
# index_email_logs_on_user_id (user_id)
|
||||
#
|
||||
|
@@ -16,3 +16,20 @@ class PostReplyKey < ActiveRecord::Base
|
||||
SecureRandom.hex(16)
|
||||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: post_reply_keys
|
||||
#
|
||||
# id :bigint(8) not null, primary key
|
||||
# user_id :integer not null
|
||||
# post_id :integer not null
|
||||
# reply_key :uuid not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_post_reply_keys_on_reply_key (reply_key) UNIQUE
|
||||
# index_post_reply_keys_on_user_id_and_post_id (user_id,post_id) UNIQUE
|
||||
#
|
||||
|
Reference in New Issue
Block a user