added vendor to dockerignore

added doctrine for renaming database column
changed email to phone number
added confirm_password upon signup
This commit is contained in:
jack
2018-04-25 17:44:18 +08:00
parent 737c7da54f
commit b166712039
17 changed files with 720 additions and 26 deletions
@@ -0,0 +1,30 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ChangeEmailToMobileFromUser extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->renameColumn('email', 'phone');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
$table->renameColumn('phone', 'email');
}
}