Skip to content

Commit

Permalink
Merge branch 'master' into invoice_permission
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Dec 30, 2023
2 parents 2444f08 + bee2579 commit f5631a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function up()
$table->enum('status', ['pending', 'to_verify', 'verified', 'payed'])->default('pending');
$table->decimal('total', 6, 2)->default(0);
$table->decimal('total_vat', 6, 2)->default(0);
$table->integer('payment_id')->unsigned()->default(0);
$table->integer('payment_id')->nullable();
$table->text('notes')->nullable();

$table->foreign('supplier_id')->references('id')->on('suppliers')->onDelete('cascade');
Expand Down

0 comments on commit f5631a3

Please sign in to comment.