Update annotations.
This commit is contained in:
parent
01a63f8b4b
commit
98f84d1a4e
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue