From 554a6e4fd6ce983632bb17c3fb216ec28c61286d Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 17 Nov 2016 16:18:15 -0800 Subject: [PATCH] Make length match validation --- .../2016_11_17_161317_longer_state_field_in_location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2016_11_17_161317_longer_state_field_in_location.php b/database/migrations/2016_11_17_161317_longer_state_field_in_location.php index 19d52dea3d..b60466597b 100644 --- a/database/migrations/2016_11_17_161317_longer_state_field_in_location.php +++ b/database/migrations/2016_11_17_161317_longer_state_field_in_location.php @@ -13,7 +13,7 @@ class LongerStateFieldInLocation extends Migration public function up() { Schema::table('locations', function ($table) { - $table->string('state', 20)->nullable()->default(null)->change(); + $table->string('state', 32)->nullable()->default(null)->change(); }); }