やり方が変わっている
Illuminate\Database\Eloquent\SoftDeletes の trait SoftDeletes を使う
なお、Schemaに deleted_at カラムが必要
$table->dateTime('deleted_at')->nullable();
More than 5 years have passed since last update.
やり方が変わっている
Illuminate\Database\Eloquent\SoftDeletes の trait SoftDeletes を使う
なお、Schemaに deleted_at カラムが必要
$table->dateTime('deleted_at')->nullable();
Register as a new user and use Qiita more conveniently