(remove unused User field)

This commit is contained in:
Adam Wathan
2017-05-17 11:34:06 -04:00
parent 9ad16a9434
commit b53dd4170d
2 changed files with 0 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ $factory->define(App\User::class, function (Faker\Generator $faker) {
static $password; static $password;
return [ return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail, 'email' => $faker->unique()->safeEmail,
'password' => $password ?: $password = bcrypt('secret'), 'password' => $password ?: $password = bcrypt('secret'),
'remember_token' => str_random(10), 'remember_token' => str_random(10),

View File

@@ -15,7 +15,6 @@ class CreateUsersTable extends Migration
{ {
Schema::create('users', function (Blueprint $table) { Schema::create('users', function (Blueprint $table) {
$table->increments('id'); $table->increments('id');
$table->string('name');
$table->string('email')->unique(); $table->string('email')->unique();
$table->string('password'); $table->string('password');
$table->rememberToken(); $table->rememberToken();