Create model view controller

To create model and controller and migration use below command

php artisan make:model Note -mcr

In created model file app/models/note.php add below line

protected $guarded = [];

using this you will be able to add data to note model/db