Remove unused description column from common_third_parties
The description field was never surfaced in the UI and added no value. Drop it from the database, Go structs, GraphQL schema, import tool, frontend fragment, and vendor seed data. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -18,7 +18,6 @@ type CommonThirdParty
|
||||
) {
|
||||
id: ID!
|
||||
name: String!
|
||||
description: String
|
||||
category: VendorCategory!
|
||||
websiteUrl: String
|
||||
headquarterAddress: String
|
||||
|
||||
@@ -22,7 +22,6 @@ import (
|
||||
type CommonThirdParty struct {
|
||||
ID gid.GID `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Category coredata.VendorCategory `json:"category"`
|
||||
WebsiteURL *string `json:"websiteUrl,omitempty"`
|
||||
HeadquarterAddress *string `json:"headquarterAddress,omitempty"`
|
||||
@@ -42,7 +41,6 @@ func NewCommonThirdParty(c *coredata.CommonThirdParty) *CommonThirdParty {
|
||||
return &CommonThirdParty{
|
||||
ID: c.ID,
|
||||
Name: c.Name,
|
||||
Description: c.Description,
|
||||
Category: c.Category,
|
||||
WebsiteURL: c.WebsiteURL,
|
||||
HeadquarterAddress: c.HeadquarterAddress,
|
||||
|
||||
Reference in New Issue
Block a user