CodeIgniter Laravel PHP Example HTML Javascript jQuery MORE Videos New
Need a Website Or Web Application Contact : +91 9437911966 (Whatsapp) Note: Paid Service

Laravel Migration

To generate migration file, use make:migration artisan command

Ex. To create table

php artisan make:migration create_users_table

To add column in existing table

php artisan make:migration add_newColumn_to_tableName_table --table=tableName

We can open newly created migration file(database/migrations) and modify according to requirement.

To run all of outstanding migration use following command.

php artisan migrate --force