diff --git a/database/migrations/2020_09_22_024530_change_company_details_to_nullable.php b/database/migrations/2020_09_22_024530_change_company_details_to_nullable.php new file mode 100644 index 00000000..9011e82d --- /dev/null +++ b/database/migrations/2020_09_22_024530_change_company_details_to_nullable.php @@ -0,0 +1,36 @@ +string('buyer_company')->default(null)->nullable()->change(); + $table->string('address')->default(null)->nullable()->change(); + $table->string('contact_no')->default(null)->nullable()->change(); + $table->string('po_number')->default(null)->nullable()->change(); + $table->string('reg_no')->default(null)->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('invoices', function (Blueprint $table) { + // + }); + } +}