mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 13:07:54 +08:00
moved comments to the bottom, they are way less intrusive there
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
class PostReply < ActiveRecord::Base
|
||||
belongs_to :post
|
||||
belongs_to :reply, class_name: 'Post'
|
||||
|
||||
validates_uniqueness_of :reply_id, scope: :post_id
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: post_replies
|
||||
@ -12,9 +19,3 @@
|
||||
# index_post_replies_on_post_id_and_reply_id (post_id,reply_id) UNIQUE
|
||||
#
|
||||
|
||||
class PostReply < ActiveRecord::Base
|
||||
belongs_to :post
|
||||
belongs_to :reply, class_name: 'Post'
|
||||
|
||||
validates_uniqueness_of :reply_id, scope: :post_id
|
||||
end
|
||||
|
Reference in New Issue
Block a user