Skip to content

Commit

Permalink
feat: add accounts balance
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusantguerrero committed Dec 7, 2023
1 parent 5b67854 commit 75c73b1
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

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

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('budget_months', function (Blueprint $table) {
$table->decimal('accounts_balance')->default(0)->after('left_from_last_month');
});
}
};

0 comments on commit 75c73b1

Please sign in to comment.