From 87139fe3172570e9e057a6aecb966d7230598d30 Mon Sep 17 00:00:00 2001 From: Oscar Gimenez Date: Tue, 18 Nov 2025 09:07:28 +0100 Subject: [PATCH] fix: rename Projects 'status' field to 'projectStatus' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes enum conflict with Payload's internal _status field. PostgreSQL was trying to create enum_projects_status twice with different values. Changed: - status → projectStatus - Added explicit label 'Project Status' for clarity --- src/collections/Projects.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collections/Projects.ts b/src/collections/Projects.ts index dbbf535..07cf284 100644 --- a/src/collections/Projects.ts +++ b/src/collections/Projects.ts @@ -352,8 +352,9 @@ export const Projects: CollectionConfig = { }, }, { - name: 'status', + name: 'projectStatus', type: 'select', + label: 'Project Status', required: true, defaultValue: 'completed', options: [