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