Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
feat: allow negative taxes
Browse files Browse the repository at this point in the history
  • Loading branch information
danybmx authored and nielsdrost7 committed Feb 4, 2024
1 parent 827aa2a commit 0d401f0
Show file tree
Hide file tree
Showing 143 changed files with 614 additions and 582 deletions.
32 changes: 32 additions & 0 deletions database/migrations/2023_05_25_225047_taxes_amount_as_signed.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class TaxesAmountAsSigned extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('taxes', function (Blueprint $table) {
$table->bigInteger('amount')->change();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('taxes', function (Blueprint $table) {
$table->unsignedBigInteger('amount')->change();
});
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0d401f0

Please sign in to comment.