Skip to content

Commit

Permalink
CS : PSR-2
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed May 6, 2016
1 parent 0a070b8 commit b885a1d
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

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

class UpdateIconColumnOnMenuitemsTable extends Migration {
class UpdateIconColumnOnMenuitemsTable extends Migration
{

/**
* Run the migrations.
Expand All @@ -12,8 +13,7 @@ class UpdateIconColumnOnMenuitemsTable extends Migration {
*/
public function up()
{
Schema::table('menu__menuitems', function(Blueprint $table)
{
Schema::table('menu__menuitems', function (Blueprint $table) {
$table->string('icon')->nullable()->default(null)->change();
});
}
Expand All @@ -25,10 +25,8 @@ public function up()
*/
public function down()
{
Schema::table('menu__menuitems', function(Blueprint $table)
{
Schema::table('menu__menuitems', function (Blueprint $table) {
$table->string('icon')->default('')->nullable(false)->change();
});
}

}

0 comments on commit b885a1d

Please sign in to comment.