remove: soft delete

This commit is contained in:
tokumeikoi
2021-07-01 20:06:09 +09:00
parent 0f488540f4
commit b174403a2a
8 changed files with 15 additions and 28 deletions

View File

@ -2,6 +2,7 @@
namespace App\Console\Commands;
use App\Models\Order;
use Illuminate\Console\Command;
class Test extends Command
@ -37,5 +38,6 @@ class Test extends Command
*/
public function handle()
{
dd(Order::where('user_id', 4)->delete());
}
}