1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 19:04:29 +02:00

Fix migrations to comply with PSR-2

This commit is contained in:
Franz Liedke
2015-05-19 01:22:09 +02:00
parent dd54803aaf
commit f7e241e410
10 changed files with 256 additions and 256 deletions

View File

@@ -3,30 +3,30 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConfigTable extends Migration {
class CreateConfigTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('config', function(Blueprint $table)
{
$table->string('key', 100)->primary();
$table->binary('value')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('config');
}
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('config', function (Blueprint $table) {
$table->string('key', 100)->primary();
$table->binary('value')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('config');
}
}