This commit is contained in:
2025-07-30 00:20:03 +09:00
parent 9bb0e736f0
commit 0f902f0d27
5 changed files with 71 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
class PostSimilarity < ApplicationRecord
belongs_to :post, class_name: 'Post', foreign_key: 'post_id'
belongs_to :target_post, class_name: 'Post', foreign_key: 'target_post_id'
end