<?php

use Illuminate\Database\Migration\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

/**
 * Creates the runtime config database schema
 */
class CreateRuntimeConfigTable extends Migration
{
    /**
     * Runs the Migration
     *
     * @return void
     */
    public function up()
    {
        Schema::create('config', function(Blueprint $table)) {
            $table->pk('id');
            $table->string('key');
            $table->longText('value');

            $table->unique('key');
        });
    }

    /**
     * Reverts the migrations
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('config');
    }
}

<?php

use Illuminate\Database\Migration\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

/**
 * Creates the runtime config database schema
 */
class CreateRuntimeConfigTable extends Migration
{
    /**
     * Runs the Migration
     *
     * @return void
     */
    public function up()
    {
        Schema::create('config', function (Blueprint $table) {
            $table->pk('id');
            $table->string('key');
            $table->longText('value');

            $table->unique('key');
        });
    }

    /**
     * Reverts the migrations
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('config');
    }
}

Fix syntax error in migration
Fix syntax error in migration
