Answers for "laravel how to create migration for model"

PHP
2

artisan make model with migration

php artisan make:model Model_Name -m
Posted by: Guest on May-14-2020
2

how create migration in laravel

//to create migration file in PHP use the artisan command "make"
php artisan make:migration create_users_table
// migration file must follow the naming convention "operation_tableName_table"
//Migration file to add column naming convention would be "add_tablename_table"
Posted by: Guest on April-25-2020

Code answers related to "laravel how to create migration for model"

Browse Popular Code Answers by Language