Skip to content

Commit

Permalink
Remove state relationship from city #18
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts committed Mar 4, 2021
1 parent 998321f commit 1051583
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Tipoff\Addresses\Models\State;

class CreateCitiesTable extends Migration
{
Expand All @@ -14,8 +13,7 @@ public function up()
$table->string('slug')->unique()->index();
$table->string('title')->unique();
$table->string('description')->nullable();
$table->foreignIdFor(State::class);
$table->timestamps();
});
}
}
}

0 comments on commit 1051583

Please sign in to comment.