This commit is contained in:
2026-01-27 01:02:33 +09:00
parent 9d68367a5a
commit 48d3f7708e
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