I am trying to alter a table and change it's storage engine to InnoDb
. When I run php artisan migrate
it completes without error. However when I check the storage engine in Sequel Pro, nothing is changed.
public function up()
{
Schema::table('tests', function(Blueprint $t) {
$t->engine = 'InnoDB';
$t->foreign('group_id')->references('id')->on('test_groups')->onDelete('restrict');
});
}