Created by: mrnugget
This is part of https://github.com/sourcegraph/sourcegraph/issues/6085 and implements the background process status for CampaignPlans
CampaignPlan
... in one neat SQL query.