Answers for "laravel after fields in migration"

PHP
1

how set field after another field in migration in laravel

Schema::table('users', function($table)
{
    $table->string('phone_nr')->after('id');
});
Posted by: Guest on August-04-2021

Code answers related to "laravel after fields in migration"

Browse Popular Code Answers by Language