From fa24799d2b2cc318f8db852c5a22084551815ec6 Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Wed, 18 Nov 2020 14:22:51 -0800 Subject: [PATCH] Change license serial type to TEXT for longer license files (#8782) --- ...1_18_214827_widen_license_serial_field.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2020_11_18_214827_widen_license_serial_field.php diff --git a/database/migrations/2020_11_18_214827_widen_license_serial_field.php b/database/migrations/2020_11_18_214827_widen_license_serial_field.php new file mode 100644 index 0000000000..3b5aaf0065 --- /dev/null +++ b/database/migrations/2020_11_18_214827_widen_license_serial_field.php @@ -0,0 +1,32 @@ +text('serial')->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('licenses', function (Blueprint $table) { + $table->string('serial', 2048)->nullable()->default(null)->change(); + }); + } +}