【Laravel】artisanのnotifications:tableコマンドを解説

チートシート

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

Description

通知テーブルのマイグレーションを作成します。

Usage

php artisan notifications:table

Options

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

Example

php artisan notifications:table
   INFO  Migration created successfully.  

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

Source

10.x

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

11.x

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