PURPOSE used to fill database tables with dummy or default data, typically right after creating the table through a database migration USAGE php artisan make:seeder WidgetsTableSeeder Description: Create a new seeder class Usage: make:seeder <name> Arguments: name The name of the class Options: …
Tag Archives:
artisan make:migration
PURPOSE A ‘migration’ is any change in the database layout It can be creating a new table, removing/dropping a table or modifying the layout of an existing database table. USAGE >php artisan make:migration create_widgets_table >php artisan make:migration alter_widgets_table >php artisan make:migration drop_widgets_table Description: Create a new migration file Usage: make:migration [options] [–] <name> …