for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?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
public function down()
Schema::drop('config');