Add settings to panel

This commit is contained in:
Dane Everitt 2016-01-20 22:08:09 -05:00
parent 591cc8648d
commit b63fc02cef
12 changed files with 317 additions and 14 deletions

View file

@ -0,0 +1,30 @@
<?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->string('key')->unique();
$table->text('value');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('settings');
}
}