Getting error in migration, "Syntax error or access violation:1064"

Viewed 1294

I'm trying to insert a json string in to my Laravel 5.2 migration and I get an error, "Syntax error or access violation:1064".

I currently using MySQL version 5.6.17 as my database.

This is from my migration file:

 Schema::create('profile', function (Blueprint $table) {
        $table->increments('id');
        $table->json('settings')->nullable();
        $table->timestamps();
    });

Can i somehow make this happen with my MySQL database or do i need to switch it up with MongoDB?

2 Answers
Related