@ -31,6 +31,7 @@ trait ChangesReferences
$table->foreign($reference->column)
->references($targetColumn)->on($targetTable)
->onUpdate('cascade')
->onDelete('cascade');
}
);
@ -31,6 +31,7 @@ trait Reference
$table->foreign($fromColumn)
->references('id')->on($targetTable)