Skip to content

Instantly share code, notes, and snippets.

@dominiquevienne
Created December 17, 2021 08:50
Show Gist options
  • Save dominiquevienne/ab0c59d9fd5d3de70e133fe719dfa2ae to your computer and use it in GitHub Desktop.
Save dominiquevienne/ab0c59d9fd5d3de70e133fe719dfa2ae to your computer and use it in GitHub Desktop.
Laravel - Create a BlogPost model with its migration file
$ php artisan make:model BlogPost -m
Model created successfully.
Created Migration: 2021_12_17_084953_create_blog_posts_table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment