add user follow feature
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
User.find_or_create_by(username: 'xpto')
|
||||
User.find_or_create_by(username: 'admin')
|
||||
User.find_or_create_by(username: 'geonizeli')
|
||||
xpto = User.find_or_create_by(username: 'xpto')
|
||||
geonizeli = User.find_or_create_by(username: 'geonizeli')
|
||||
|
||||
UserFollow.find_or_create_by(follower_id: xpto.id, followed_id: geonizeli.id)
|
||||
UserFollow.find_or_create_by(follower_id: geonizeli.id, followed_id: xpto.id)
|
||||
|
||||
Reference in New Issue
Block a user