how add field to table by another migration in laravel

Solutions on MaxInterview for how add field to table by another migration in laravel by the best coders in the world

showing results for - "how add field to table by another migration in laravel"
Joshua
18 Apr 2020
1Schema::table('users', function($table)
2{
3    $table->string('phone_nr')->after('id');
4});
5
Fynn
25 Nov 2020
1php artisan make:migration add_store_id_to_users_table --table=users
2