Zachary Wang
0
Q:

laravel drop column softdeletes

Schema::table('users', function (Blueprint $table) {
    $table->renameColumn('from', 'to');
});
0
public function down()
{
  Schema::table('users', function (Blueprint $table) {
    $table->dropSoftDeletes();
  });
}
0
Schema::table('users', function($table) {
    $table->string("title");
    $table->text("description");
    $table->timestamps();
});
-1

New to Communities?

Join the community