laravel add column to existing table
snippet in php

laravel migration add column to existing table

user6349

php artisan make:migration add_paid_to_users_table --table=users
  
public function up()
{
    Schema::table('users', function($table) {
        $table->integer('paid');
    });
}

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

php artisan migrate

laravel add column to existing table

user8829

php artisan make:migration add_paid_to_users_table --table=users

laravel add column to table

user1147

Schema::table('users', function (Blueprint $table) {
	$table->dateTime('verify_date')->nullable()->after("password_updated_at");
});

add column to migration laravel

user1022

php artisan make:migration add_profile_to_users

laravel add column to existing table

user2972

php artisan migrate

laravel add column to existing table

user3589

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