-1

I want to change table name and column name of jobs table which is genetared by creating a laravel queue in laravel project.

1 Answers1

0

You have a queue.php file in the config folder where you can find

'database' => [
        'driver' => 'database',
        'table' => 'jobs',
        ^^^^^^^^^^^^^^^^^^
        'queue' => 'default',
        'retry_after' => 90,
],

for the column name, i think there is no option if not to use the ones defined in the usual migration

Note: this might change based on the version of laravel you are using, but in every version there is this config file where you can configure the table to use

Alberto Sinigaglia
  • 12,097
  • 2
  • 20
  • 48