bagaimana mengatur kaskade di delete dan update secara bersamaan di Laravel


$table->foreign('user_id')->references('id')->on('users')
->onDelete('SET NULL')
->onUpdate('SET NULL'); // also available CASCADE, RESTRICT, DO NOTHING, NO ACTION

Mohamad