]> git.localhorst.tv Git - alttp.git/commitdiff
decimal columns are dum
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 25 Mar 2022 14:07:55 +0000 (15:07 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 25 Mar 2022 14:07:55 +0000 (15:07 +0100)
database/migrations/2022_03_25_123528_result_comment.php

index b5d5b052339061b6c75f21abccc1779ab79ee104..06d5609f62ef87b1da585b3037b18dc1f2111141 100644 (file)
@@ -14,7 +14,7 @@ return new class extends Migration
        public function up()
        {
                Schema::table('results', function(Blueprint $table) {
        public function up()
        {
                Schema::table('results', function(Blueprint $table) {
-                       $table->decimal('time', 6, 2)->unsigned()->default(0)->change();
+                       $table->decimal('time', 8, 2)->unsigned()->default(0)->change();
                        $table->text('comment')->nullable()->default(null);
                });
        }
                        $table->text('comment')->nullable()->default(null);
                });
        }