laravel drop column softdeletes
snippet in php

laravel drop column softdeletes

user6754

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

laravel rename column name

user4916

Schema::table('users', function (Blueprint $table) {
    $table->renameColumn('from', 'to');
});

schema add column laravel

user686

Schema::table('users', function($table) {
    $table->string("title");
    $table->text("description");
    $table->timestamps();
});