Answers for "how to create migration script in laravel"

PHP
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
0

Generate Laravel Migrations from an existing database

composer require --dev "xethron/migrations-generator"
Posted by: Guest on March-14-2021
0

what is the use of migration file in laravel

Simply put, Laravel migration is a way that allows you to create a table in your database, without actually going to the database manager such as phpmyadmin or sql lite or whatever your manager is
Posted by: Guest on December-10-2020

Code answers related to "how to create migration script in laravel"

Browse Popular Code Answers by Language