From 066d947f1a635c79cf835e5967145b5973971ef3 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 27 Oct 2016 21:39:46 -0700 Subject: [PATCH] Fixes #2535 - increased varachar limit to 2048 for serial --- ..._213251_increase_serial_field_capacity.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2016_10_27_213251_increase_serial_field_capacity.php diff --git a/database/migrations/2016_10_27_213251_increase_serial_field_capacity.php b/database/migrations/2016_10_27_213251_increase_serial_field_capacity.php new file mode 100644 index 0000000000..f81c9373ef --- /dev/null +++ b/database/migrations/2016_10_27_213251_increase_serial_field_capacity.php @@ -0,0 +1,31 @@ +string('serial', 2048)->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('licenses', function ($table) { + $table->string('serial', 255)->nullable()->default(null)->change(); + }); + } +}