Make length match validation

This commit is contained in:
snipe 2016-11-17 16:18:39 -08:00
parent 7efe3a3207
commit e8f45555ff

View file

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