PHP code snippet – How set field after another field in migration in laravel?
Schema::table('users', function($table) { $table->string('phone_nr')->after('id'); });
Schema::table('users', function($table) { $table->string('phone_nr')->after('id'); });