<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSettingsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('settings', function (Blueprint $table) {
			$table->increments('id');
			$table->string('name');
			$table->string('package')->default('mybb.core');
			$table->boolean('is_user_setting')->default('false');

			$table->unique(['name', 'package']);
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('settings');
	}

}

<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSettingsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('settings', function (Blueprint $table) {
			$table->increments('id');
			$table->string('name');
			$table->string('package')->default('mybb.core');
			$table->boolean('is_user_setting')->default(false);

			$table->unique(['name', 'package']);
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('settings');
	}

}

Fix default value for is_user_setting
Fix default value for is_user_setting

Signed-off-by: Euan T <bb3cb0933b629e9456c636be3c1aa8b281a75c82@gmail.com>
