I am trying to use mysql json column index feature.
ALTER TABLE jobs ADD eta varchar(50) GENERATED ALWAYS AS (JSON_EXTRACT(shipping_info, '$.eta')) VIRTUAL
but when I save jobs with model, it gives me the error,
SQLSTATE[HY000]: General error: 3105 The value specified for generated column 'eta' in table 'jobs' is not allowed.
Does anyone have similar problem and get it solved?
Thanks