A free open source IT asset/license management system
Make length match validation
snipee8f45555ff0b
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.phpindex 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 Migrationpublic function up(){Schema::table('locations', function ($table) {- $table->string('state', 20)->nullable()->default(null)->change();+ $table->string('state', 32)->nullable()->default(null)->change();});}