MichalKleiner

you can’t do that… you’d need a map of value constants and you’d store that in the field as a free text

taoceanz

@MichalKleiner how would you define in varchar what you would before in enum?

MichalKleiner

it’s easier to add/reorder/update/migrate the list without breaking everything

MichalKleiner

fwiw we are moving from enums to varchars with code defined list of options

taoceanz

Wicked, I thought that was the case but just double checking

taoceanz

When defining something like $db = ['weekday' => 'Enum("Mon,Tues,Weds","Mon")'];, is it necessary to have no spaces in the Enum? I've seen this many times where there's no space after the comma.