Skip to content

Commit

Permalink
fix: use the same amount of precision as before on transactions
Browse files Browse the repository at this point in the history
Values in bytes are stored in this column and need more precision.
  • Loading branch information
Roardom committed Feb 22, 2024
1 parent bf72d49 commit 9828209
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function up(): void
});

Schema::table('bon_transactions', function (Blueprint $table): void {
$table->decimal('cost', 12, 2)->default(0)->change();
$table->decimal('cost', 22, 2)->default(0)->change();
});

DB::statement('ALTER TABLE users ADD CONSTRAINT check_users_seedbonus CHECK (seedbonus >= 0);');
Expand Down

0 comments on commit 9828209

Please sign in to comment.