@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Faker\Generator as Faker; |
| 4 | 4 | |
| 5 | -$factory->define(\CleaniqueCoders\Profile\Models\Email::class, function (Faker $faker) { |
|
| 5 | +$factory->define(\CleaniqueCoders\Profile\Models\Email::class, function(Faker $faker) { |
|
| 6 | 6 | return [ |
| 7 | 7 | 'email' => $faker->companyEmail, |
| 8 | 8 | ]; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('phone_types', function (Blueprint $table) { |
|
| 14 | + Schema::create('phone_types', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->label(); |
| 17 | 17 | $table->name(); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('addresses', function (Blueprint $table) { |
|
| 14 | + Schema::create('addresses', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->hashslug(); |
| 17 | 17 | $table->nullableBelongsTo('countries'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('emails', function (Blueprint $table) { |
|
| 14 | + Schema::create('emails', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->hashslug(); |
| 17 | 17 | $table->unsignedInteger('emailable_id'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('websites', function (Blueprint $table) { |
|
| 14 | + Schema::create('websites', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->hashslug(); |
| 17 | 17 | $table->unsignedInteger('websiteable_id'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('countries', function (Blueprint $table) { |
|
| 14 | + Schema::create('countries', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->string('code'); |
| 17 | 17 | $table->label(); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('phones', function (Blueprint $table) { |
|
| 14 | + Schema::create('phones', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->hashslug(); |
| 17 | 17 | $table->belongsTo('phone_types')->default(\CleaniqueCoders\Profile\Models\PhoneType::HOME); |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('banks', function (Blueprint $table) { |
|
| 14 | + Schema::create('banks', function(Blueprint $table) { |
|
| 15 | 15 | $table->increments('id'); |
| 16 | 16 | $table->string('name')->nullable(); |
| 17 | 17 | $table->code('swift_code'); |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | $table->standardTime(); |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | - Schema::create('bank_accounts', function (Blueprint $table) { |
|
| 22 | + Schema::create('bank_accounts', function(Blueprint $table) { |
|
| 23 | 23 | $table->increments('id'); |
| 24 | 24 | $table->hashslug(); |
| 25 | 25 | $table->belongsTo('banks'); |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Faker\Generator as Faker; |
| 4 | 4 | |
| 5 | -$factory->define(\CleaniqueCoders\Profile\Models\Address::class, function (Faker $faker) { |
|
| 5 | +$factory->define(\CleaniqueCoders\Profile\Models\Address::class, function(Faker $faker) { |
|
| 6 | 6 | return [ |
| 7 | 7 | 'country_id' => $faker->randomElement(range(1, 200)), |
| 8 | 8 | 'primary' => $faker->streetName, |