diff --git a/db/migrations/2022_05_23_000000_increase_tshirt_field_width.php b/db/migrations/2022_05_23_000000_increase_tshirt_field_width.php new file mode 100644 index 00000000..03a98d1a --- /dev/null +++ b/db/migrations/2022_05_23_000000_increase_tshirt_field_width.php @@ -0,0 +1,32 @@ +schema->table('users_personal_data', function (Blueprint $table) { + $table->string('shirt_size', 10)->change(); + }); + } + + /** + * Reverse the migration + */ + public function down() + { + $this->schema->table('users_personal_data', function (Blueprint $table) { + $table->string('shirt_size', 4)->change(); + }); + } +}