Skip to content

Commit

Permalink
City field added
Browse files Browse the repository at this point in the history
  • Loading branch information
adhalwala committed Dec 3, 2020
1 parent 2dcd699 commit c3d6470
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ All the common fields are available in database given below, additionally you ca
'street'
'suburb'
'postcode'
'city'
'state'
'latitude'
'longitude'
Expand Down
1 change: 1 addition & 0 deletions database/migrations/create_addresses_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CreateAddressesTable extends Migration
$table->string('street')->nullable();
$table->string('suburb')->nullable();
$table->string('postcode')->nullable();
$table->string('city')->nullable();
$table->string('state')->nullable();
$table->string('latitude')->nullable();
$table->string('longitude')->nullable();
Expand Down
1 change: 1 addition & 0 deletions src/Models/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function getTable()
'street',
'suburb',
'postcode',
'city',
'state',
'latitude',
'longitude',
Expand Down

0 comments on commit c3d6470

Please sign in to comment.