Drop dead description column from documents

The description field on Document and EmployeeDocument was never
populated. Remove it from the database, GraphQL schema, and Go types.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-04-07 18:49:03 +02:00
parent b63f043849
commit 221afd8b8d
3 changed files with 2 additions and 3 deletions

View File

@@ -2562,7 +2562,6 @@ type Evidence implements Node {
type Document implements Node {
id: ID!
description: String
currentPublishedMajor: Int
currentPublishedMinor: Int
trustCenterVisibility: TrustCenterVisibility!
@@ -2603,7 +2602,6 @@ type EmployeeDocument
) {
id: ID!
title: String!
description: String
signed: Boolean @goField(forceResolver: true)
approvalState: DocumentVersionApprovalDecisionState @goField(forceResolver: true)

View File

@@ -44,7 +44,6 @@ type (
EmployeeDocument struct {
ID gid.GID
Title string
Description *string
DocumentType coredata.DocumentType
CreatedAt time.Time
UpdatedAt time.Time