From dda0ca8a8cb9efc9d25c5ca07f1c5ee94f818b6d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 15 Jan 2017 21:15:10 +0200 Subject: [PATCH] Added account payment_terms --- database/migrations/2017_01_01_214241_add_inclusive_taxes.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/database/migrations/2017_01_01_214241_add_inclusive_taxes.php b/database/migrations/2017_01_01_214241_add_inclusive_taxes.php index ab392006c2..96f28dbcb9 100644 --- a/database/migrations/2017_01_01_214241_add_inclusive_taxes.php +++ b/database/migrations/2017_01_01_214241_add_inclusive_taxes.php @@ -33,7 +33,8 @@ class AddInclusiveTaxes extends Migration $table->text('client_number_prefix')->nullable(); $table->integer('client_number_counter')->default(0)->nullable(); $table->text('client_number_pattern')->nullable(); - $table->tinyInteger('domain_id')->default(1)->nullable(); + $table->tinyInteger('domain_id')->default(1)->nullable()->unsigned(); + $table->tinyInteger('payment_terms')->nullable()->unsigned(); }); Schema::table('activities', function ($table) @@ -67,6 +68,7 @@ class AddInclusiveTaxes extends Migration $table->dropColumn('client_number_counter'); $table->dropColumn('client_number_pattern'); $table->dropColumn('domain_id'); + $table->dropColumn('payment_terms'); }); Schema::table('activities', function ($table)