php script doesn't create foreign key restraints
jymden opened this issue · 4 comments
jymden commented
php script doesn't seem to create foreign keys in the generated migrations
shahsani commented
Any fresh update on foreign key constraints, please?
aljorhythm commented
@shahsani you are more than welcomed to contribute, unfortunately I am currently not working on any Laravel project so I will not be devoting time to this
shahsani commented
Kindly tell us how did you change the engine to InnoDB. I mean where in code you did the changes!
Thanks
RAEES
…________________________________
From: Christoffer Wadensten <notifications@github.com>
Sent: Friday, January 12, 2018 5:02 PM
To: aljorhythm/sql-to-laravel-migrations
Cc: Raees Khan ShahSani; Comment
Subject: Re: [aljorhythm/sql-to-laravel-migrations] php script doesn't create foreign key restraints (#4)
I solved this by changing default engine to innodb. Works well with that. Don't understand why Laravel uses myisam
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#4 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AC-Mmgym5Jw5CMYjY5evgpDjmeFfHAS8ks5tJ0ndgaJpZM4QjYW7>.
shahsani commented
@aljorhythm indeed I want to contribute. I will, after going through the code! :-)