-1

I asked this question: Laravel notification toArray() not saving data to notifications table and afterwards, I just thought to change my queue connection back to 'sync' from 'database' and I found out that the toArray method saved to the notifications table.

I'm not sure there's anything in the docs under notifications or queues about a specific queue connection to use with the toArray or toDatabase methods.

Is it that these methods don't work with 'database' queue connection or there's something else I need to do to make them work together?

Adefowowe
  • 198
  • 2
  • 14

1 Answers1

1

Clear the cache of your application

php artisan optimize:clear