From 3208522dd147bb31240dba0769dce82a22a8c007 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 23 Sep 2016 14:10:08 -0700 Subject: [PATCH] Fixes #2672 - model_no field updated to be string --- ...2_fix_modelno_in_consumables_to_string.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2016_09_23_140722_fix_modelno_in_consumables_to_string.php diff --git a/database/migrations/2016_09_23_140722_fix_modelno_in_consumables_to_string.php b/database/migrations/2016_09_23_140722_fix_modelno_in_consumables_to_string.php new file mode 100644 index 0000000000..a76ea18189 --- /dev/null +++ b/database/migrations/2016_09_23_140722_fix_modelno_in_consumables_to_string.php @@ -0,0 +1,31 @@ +string('model_no')->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('consumables', function ($table) { + $table->integer('model_no')->nullable()->default(null)->change(); + }); + } +}