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(); + }); + } +}