How to show posts to user based on likes and comments by following account?
i am making website using laravel and want to add functionality where user can see those posts which are liked or commented by those accounts which are followed by logged in user and exclude posts of logged in user. Actually i want to suggest posts to user.
mysql is getting long lock while adding foreign key column as nullable and no default value with index on a big table
I am running Laravel Migration and this is how it looks on terminals