From 4f9a25310378cb0109cf4c3ac4dd295d521a9488 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 8 May 2017 20:06:52 -0700 Subject: [PATCH] Fixes #3546 - increases size of field values in custom fields for listboxes --- ..._size_of_field_values_in_custom_fields.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/migrations/2017_05_08_195520_increase_size_of_field_values_in_custom_fields.php diff --git a/database/migrations/2017_05_08_195520_increase_size_of_field_values_in_custom_fields.php b/database/migrations/2017_05_08_195520_increase_size_of_field_values_in_custom_fields.php new file mode 100644 index 0000000000..8b6c12f658 --- /dev/null +++ b/database/migrations/2017_05_08_195520_increase_size_of_field_values_in_custom_fields.php @@ -0,0 +1,33 @@ +text('field_values')->nullable()->default(null)->change(); + }); + + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('custom_fields', function ($table) { + $table->string('field_values', 255)->nullable()->default(null)->change(); + }); + } +}