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 new file mode 100644 index 0000000000..19d52dea3d --- /dev/null +++ b/database/migrations/2016_11_17_161317_longer_state_field_in_location.php @@ -0,0 +1,31 @@ +string('state', 20)->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('locations', function ($table) { + $table->string('state', 2)->nullable()->default(null)->change(); + }); + } +}