From 837d37b3954b44b486a02b51d3f5e0f25af0f505 Mon Sep 17 00:00:00 2001 From: Edmond Teh Date: Fri, 25 Sep 2020 15:52:25 +0800 Subject: [PATCH] add adjustment to invoices --- ...9_25_154539_add_adjustment_to_invoices.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2020_09_25_154539_add_adjustment_to_invoices.php diff --git a/database/migrations/2020_09_25_154539_add_adjustment_to_invoices.php b/database/migrations/2020_09_25_154539_add_adjustment_to_invoices.php new file mode 100644 index 00000000..815200ad --- /dev/null +++ b/database/migrations/2020_09_25_154539_add_adjustment_to_invoices.php @@ -0,0 +1,32 @@ +double('adjustment')->default(null)->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('invoices', function (Blueprint $table) { + $table->dropColumn('adjustment'); + }); + } +}