rake task reset kills all friend requests
This commit is contained in:
parent
3974b01b29
commit
e7ac8bec32
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ namespace :db do
|
||||||
User.delete_all
|
User.delete_all
|
||||||
Friend.delete_all
|
Friend.delete_all
|
||||||
Profile.delete_all
|
Profile.delete_all
|
||||||
|
FriendRequest.delete_all
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'
|
desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue