Skip to content

[ Server ] Error: column "version_hero_type" cannot be cast automatically to type enum__pages_v_version_hero_type #10790

Open
@latioms

Description

@latioms

Describe the Bug.

I tried to put the list of heros. Then I changed my mind and got this error

Reproduction Steps

1- Udpate the src/heros/config.ts :
{
label: 'Low Impact',
value: 'lowImpact',
},
{
label: 'Hero 39',
value: 'hero39',
}
2- Press Y in the console after seeing a message (without reading)
3- removing the "Hero 39" object in the options
4 got this error

Environment Info

Payload 3
nextjs 15
postgresql 17.2

Metadata

Metadata

Assignees

Labels

area: uiRelated to the admin panel.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions