From d7434797ec47d2169fd7caea944924f85a12dabe Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 19 Oct 2016 14:59:28 -0700 Subject: [PATCH] Change order number to string in components table --- ...x_order_number_in_components_to_string.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2016_10_19_145520_fix_order_number_in_components_to_string.php diff --git a/database/migrations/2016_10_19_145520_fix_order_number_in_components_to_string.php b/database/migrations/2016_10_19_145520_fix_order_number_in_components_to_string.php new file mode 100644 index 000000000..c08131d92 --- /dev/null +++ b/database/migrations/2016_10_19_145520_fix_order_number_in_components_to_string.php @@ -0,0 +1,31 @@ +string('order_number')->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('components', function ($table) { + $table->integer('order_number')->nullable()->default(null)->change(); + }); + } +}