DigitalWM DigitalWM - 1 month ago 18
MySQL Question

Laravel & InnoDB

I am using laravel and laravel migration mechanism. I created tables and seted up foreign keys. But the tables are MyISSAM so no foreign keys are created. Where do I enable / configure this? (to change it to InnoDB and not in the mysql server).

Answer

You can set the engine inside Schema\Table closure.