@@ -13,24 +13,24 @@ discard block |
||
13 | 13 | public function up() |
14 | 14 | { |
15 | 15 | Schema::create('users', function(Blueprint $table) { |
16 | - $table->increments('id'); |
|
17 | - $table->string('profile_picture', 150)->nullable(); |
|
18 | - $table->string('name', 100)->nullable(); |
|
19 | - $table->string('email')->unique(); |
|
20 | - $table->string('password', 60)->nullable(); |
|
21 | - $table->boolean('blocked')->default(0); |
|
22 | - $table->boolean('confirmed')->default(0); |
|
23 | - $table->string('confirmation_code')->nullable(); |
|
24 | - $table->softDeletes(); |
|
25 | - $table->rememberToken(); |
|
26 | - $table->timestamps(); |
|
27 | - }); |
|
16 | + $table->increments('id'); |
|
17 | + $table->string('profile_picture', 150)->nullable(); |
|
18 | + $table->string('name', 100)->nullable(); |
|
19 | + $table->string('email')->unique(); |
|
20 | + $table->string('password', 60)->nullable(); |
|
21 | + $table->boolean('blocked')->default(0); |
|
22 | + $table->boolean('confirmed')->default(0); |
|
23 | + $table->string('confirmation_code')->nullable(); |
|
24 | + $table->softDeletes(); |
|
25 | + $table->rememberToken(); |
|
26 | + $table->timestamps(); |
|
27 | + }); |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Create Default users. |
31 | 31 | */ |
32 | 32 | \DB::table('users')->insertGetId( |
33 | - [ |
|
33 | + [ |
|
34 | 34 | 'name' => 'Admin', |
35 | 35 | 'email' => '[email protected]', |
36 | 36 | 'password' => bcrypt('123456'), |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | 'created_at' => \DB::raw('NOW()'), |
39 | 39 | 'updated_at' => \DB::raw('NOW()') |
40 | 40 | ] |
41 | - ); |
|
41 | + ); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |