fix: rename Projects 'status' field to 'projectStatus'
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
This commit is contained in:
@@ -352,8 +352,9 @@ export const Projects: CollectionConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'status',
|
name: 'projectStatus',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
|
label: 'Project Status',
|
||||||
required: true,
|
required: true,
|
||||||
defaultValue: 'completed',
|
defaultValue: 'completed',
|
||||||
options: [
|
options: [
|
||||||
|
|||||||
Reference in New Issue
Block a user