add new column in laravel migration
snippet in php

add another field in existing migration laravel

user3488

php artisan make:migration add_paid_to_users_table --table=users

add column to migration laravel

user299

class AddProfileToUsers extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->string('profile')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('shop_users', function (Blueprint $table) {
            $table->dropColumn(['profile']);
        });
    }
}

add new column in laravel migration

user3625

Schema::table('table_name', function (Blueprint $table) {
            $table->string('column_name', 255)->nullable()->after('previous_column_name');
        });

add new column in existing table in laravel migration

user1693

public function down()
{
    Schema::table('users', function($table) {
        $table->dropColumn('paid');
    });
}

add column to migration laravel

user358

php artisan make:migration add_profile_to_users

add new column in existing table in laravel migration

user1187

public function up()
{
    Schema::table('users', function($table) {
        $table->integer('paid');
    });
}