Quick fix decimal amount in activity.

This commit is contained in:
Simon Pocrnjič 2024-11-14 22:07:01 +01:00
parent 7329a5f7d8
commit c45751c1e2

View File

@ -14,7 +14,7 @@ public function up(): void
Schema::create('activities', function (Blueprint $table) { Schema::create('activities', function (Blueprint $table) {
$table->id(); $table->id();
$table->date('due_date')->nullable(); $table->date('due_date')->nullable();
$table->decimal('amount', 4)->nullable(); $table->decimal('amount', 8, 4)->nullable();
$table->text('note')->default(''); $table->text('note')->default('');
$table->foreignIdFor(\App\Models\Action::class); $table->foreignIdFor(\App\Models\Action::class);
$table->foreignIdFor(\App\Models\Decision::class); $table->foreignIdFor(\App\Models\Decision::class);