Skip to content

A free open source IT asset/license management system

Make length match validation

snipe554a6e4fd6ce
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();
});
}