For fresh Laravel11.
Don't run this on existing projects.
Rename all tables name in migrations.
Schema::create('prefix_jobs', function (Blueprint $table) {
Schema::create('prefix_cache', function (Blueprint $table) {
Edit all table in config or .env
// config/queue.php
'database' => [
'table' => env('DB_QUEUE_TABLE', 'prefix_jobs'),
// config/cache.php
'database' => [
'table' => env('DB_CACHE_TABLE', 'prefix_cache'),
// .env
DB_QUEUE_TABLE=prefix_jobs
DB_CACHE_TABLE=prefix_cache
Re-create tables.
php artisan migrate:fresh