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:
2026-01-27 01:04:16 +09:00
parent 9d68367a5a
commit 19c622c5bf
3 changed files with 51 additions and 3 deletions
+2
View File
@@ -1,4 +1,6 @@
class UserPostView < ApplicationRecord
self.primary_key = :user_id, :post_id
belongs_to :user
belongs_to :post