DigitalWM DigitalWM - 10 months ago 107
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 Source

You can set the engine inside Schema\Table closure.