DigitalWM DigitalWM - 4 years ago 231
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download