If I run this in my migration up method, what do I put in the down method?
$table->foreignIdFor(MyClass::class)->nullable()->constrained();
Thanks!
In the down method you should drop the foreign key:
$table->dropForeign(['column_name']);
$table->dropColumn(['column_name']);