Remove Campaign.Branch field
Created by: mrnugget
With the move to the new workflow we don't need the branch field on Campaign anymore.
-
Remove the branchattribute fromcampaigninschema.graphql(and generate theschema.goversion with./dev/generate.sh) -
Remove CampaignResolver.Branchin./cmd/frontend/graphqlbackend/campaigns.go -
Remove campaignResolver.Branch()in./enterprise/internal/campaigns/resolvers/campaigns.go -
Do not insert/update/read campaigns.branchin./enterprise/internal/campaigns/store.go -
Update store_campaigns_test.goaccordingly -
Write a database migration that drops the fields on campaigns.