how to use table ->defaultGroup with enum field?

I want to use the new v3 table group feature with a column casted to PHP enum, but seem unable, what are some ways I can do it?

Code is something like $table->defaultGroup('status') where status is casted to enum
Was this page helpful?