Skip to content

Commit 258901f

Browse files
committed
change state & city field names
1 parent 7bb4f08 commit 258901f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2020_01_01_000001_create_addresses_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public function up()
2222
$table->string('company')->nullable();
2323
$table->foreignId('country_id')->on('countries')->nullable();
2424
$table->foreignId('state_id')->on('states')->nullable();
25-
$table->string('state')->nullable();
25+
$table->string('state_name')->nullable();
2626
$table->foreignId('city_id')->on('cities')->nullable();
27-
$table->string('city')->nullable();
27+
$table->string('city_name')->nullable();
2828
$table->string('line1')->nullable();
2929
$table->string('line2')->nullable();
3030
$table->string('street')->nullable();

0 commit comments

Comments
 (0)