feat: user_post_views から id を削除(#230) (#239)
#230 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #239
This commit was merged in pull request #239.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class UserPostView < ApplicationRecord
|
||||
self.primary_key = :user_id, :post_id
|
||||
|
||||
belongs_to :user
|
||||
belongs_to :post
|
||||
|
||||
|
||||
Reference in New Issue
Block a user