Open piotrekkr opened 6 years ago
@piotrekkr we have the same isuse. You have to override the Job
mappings to be
args:
type: json
options:
jsonb: true
and migrate the table field to be JSONB
in order to make the bundle work
@scaytrase I'm not really sure how to overwrite those mappings since they are in docblocks in JMS\JobQueueBundle\Entity\Job. Any suggestions how to do this without changing vendor code?
As a simple way (since the bundle releases not so often) you can just convert annotation mapping into yaml one using console command, fix and configure it instead of original via mapping config
I get exception when trying to use "command or args" search field in web interface:
It seems that it cannot use
LIKE
with json field in postgresql and inJob
entity there isjson_array
(which is deprecated in doctrine) asargs
column type. I'm using doctrine 2.6 and postgresql 10.