Now committing to correct branch.

This commit is contained in:
James Cole
2015-07-14 22:48:34 +02:00
parent 7fe393acaf
commit a15fbc8094
4 changed files with 93 additions and 52 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
/**
* Class ChangesForV349
*/
class ChangesForV349 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// add "blocked" to users:
Schema::table(
'users', function (Blueprint $table) {
$table->boolean('blocked')->default(0);
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}