Skip to content

Commit ef512cc

Browse files
Merge pull request #34 from dweinerATL/fix-fieldnames
Fixed typo in phone_number and added a few more common field/column names
2 parents ca421da + c775131 commit ef512cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Console/GenerateCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,14 @@ protected function setProperty($name, $type = null)
335335
'name' => '$faker->name',
336336
'password' => 'bcrypt($faker->password)',
337337
'phone' => '$faker->phoneNumber',
338-
'phone_numer' => '$faker->phoneNumber',
338+
'phone_number' => '$faker->phoneNumber',
339339
'postcode' => '$faker->postcode',
340+
'postal_code' => '$faker->postcode',
340341
'remember_token' => 'Str::random(10)',
341342
'slug' => '$faker->slug',
342343
'street' => '$faker->streetName',
344+
'address1' => '$faker->streetAddress',
345+
'address2' => '$faker->secondaryAddress',
343346
'summary' => '$faker->text',
344347
'url' => '$faker->url',
345348
'user_name' => '$faker->userName',

0 commit comments

Comments
 (0)