Laravel 5.1 Unknown database type enum requested

33 viewslaravellaravel 4laravel 5php
0

While running php artisan migrate, I got the following error

[DoctrineDBALDBALException]
Unknown database type enum requested, DoctrineDBALPlatformsMySqlPlatform may not support it.

How to resolve this issue.

Code:

public function up() {
    Schema::table('blogs', function (Blueprint $table) {
        $table->string('wordpress_id')->nullable();
        $table->string('google_blog_id')->nullable()->change();
    });
}