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