Elysion
$interview->updateQuietly([
'send_sms' => null,
'send_email' => null,
]);
ya da
$interview->sent_sms = null;
$interview->sent_email = null;
$interview->saveQuietly();
ya da
Interview::where('id', $interview->id)
->update([
'send_sms' => null,
'send_email' => null,
]);
ya da
DB::table('interviews')
->where('id', $interview->id)
->update([
'send_sms' => null,
'send_email' => null,
]);
ya da
DB::update('UPDATE interviews SET send_sms = NULL, send_email = NULL WHERE id = ?', [
$interview->id
]);
ya da
$statement = DB::connection()
->getPdo()
->prepare('UPDATE interviews SET send_sms = NULL, send_email = NULL WHERE id = ?');
$statement->execute([
$interview->id,
]);