added marking to user table

added marking on registration
This commit is contained in:
Jack Goh
2018-07-05 17:56:49 +08:00
parent 9a257257fb
commit 503e3aec5b
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,31 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddMarkingToUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function($table)
{
$table->string('marking');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}