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 branch
attribute fromcampaign
inschema.graphql
(and generate theschema.go
version with./dev/generate.sh
) -
Remove CampaignResolver.Branch
in./cmd/frontend/graphqlbackend/campaigns.go
-
Remove campaignResolver.Branch()
in./enterprise/internal/campaigns/resolvers/campaigns.go
-
Do not insert/update/read campaigns.branch
in./enterprise/internal/campaigns/store.go
-
Update store_campaigns_test.go
accordingly -
Write a database migration that drops the fields on campaigns.