on cascade delete issue with multiple foreign keys and migrations
I have a mysql schema like this,
I ran the generate command and then added
{ onDelete: 'cascade' }
to both fk1
and fk2
. When i ran generate again, the generated migration file only contains statement for updating cascade delete
for fk1
.
Is this a bug ?0 Replies