mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 12:37:54 +08:00
remove: soft delete
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user