[server] Add migration script which computes sender status
Test Plan: Run the script and check in db if the status was set correctly
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: KatPo, zrebcu411, Adrian, atul, subnub, karol-bisztyga
Differential Revision: https://phabricator.ashoat.com/D696