From 7d51953b84779e69177ccb0e55c01b130335bb10 Mon Sep 17 00:00:00 2001 From: Xesxen Date: Mon, 23 May 2022 23:42:20 +0200 Subject: [PATCH] Database: Increase shift_size column size --- ..._23_000000_increase_tshirt_field_width.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 db/migrations/2022_05_23_000000_increase_tshirt_field_width.php 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(); + }); + } +}