Handle a possible issue with orphaned 'document_item_taxes' while upgrading to 2.1.0.
This commit is contained in:
parent
8eb020211f
commit
97ba1252c0
@ -442,7 +442,8 @@ class Version210 extends Listener
|
|||||||
$table->foreign('document_item_id')
|
$table->foreign('document_item_id')
|
||||||
->references('id')
|
->references('id')
|
||||||
->on('document_items')
|
->on('document_items')
|
||||||
->cascadeOnUpdate();
|
->cascadeOnUpdate()
|
||||||
|
->cascadeOnDelete();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user