【Laravel】artisanのqueue:batches-tableコマンドを解説

チートシート

Laravel 10.x以降のartisanの「queue:batches-table」コマンドを解説します。

Description

batchesデータベーステーブルのマイグレーションを作成します。

Usage

php artisan queue:batches-table

Options

オプションはありません。

Example

php artisan queue:batches-table
   INFO  Migration created successfully.  

dababase/migrations/yyyy_mm_dd_his_create_job_batches_table.phpが作成されます。

Source

10.x

framework/src/Illuminate/Queue/Console/BatchesTableCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework

11.x

framework/src/Illuminate/Queue/Console/BatchesTableCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework
タイトルとURLをコピーしました