add user follow feature

This commit is contained in:
João Victor Geonizeli
2022-02-27 16:13:52 -03:00
parent 011a8cdb77
commit 70e25e8399
15 changed files with 181 additions and 7 deletions

View File

@@ -0,0 +1,4 @@
class UserFollow < ApplicationRecord
belongs_to :follower, class_name: 'User'
belongs_to :followed, class_name: 'User'
end