laravel ondelete('set null') site:stackoverflow.com code example Example: laravel migration on delete set null $table->...->onDelete('set null');