Answers for "migration with softdelete"

PHP
1

laravel drop column softdeletes

public function down()
{
  Schema::table('users', function (Blueprint $table) {
    $table->dropSoftDeletes();
  });
}
Posted by: Guest on September-04-2020

Browse Popular Code Answers by Language