Hi,
I'm trying to create a foreign key with ON DELETE CASCADE option, but with no luck. I have this in one of my migrations:
table.string('user_id', 36)
.index()
.references('id')
.inTable('user')
.onDelete('CASCADE');
The column appears and correctly references the foreign key, but its missing the ON DELETE CASCADE option.
Is this issue solved?
It is in the 0.6 branch. Should be ready within the week, it's fairly stable though if you want to try it out migrations are the only big piece missing.
Fixed in 0.6
Most helpful comment
Fixed in 0.6