Skip to content

Commit

Permalink
rewrite test to be compatible with laravel 11 floating-point-types
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammonkey committed Jun 8, 2024
1 parent ca5185c commit 2844553
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/SchemaRulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@
$decimalNullableColumnName
) {
$table->float($floatColumnName);
$table->unsignedFloat($floatUnsignedColumnName);
$table->float($floatUnsignedColumnName)->unsigned();
$table->double($doubleColumnName);
$table->unsignedDouble($doubleUnsignedColumnName);
$table->double($doubleUnsignedColumnName)->unsigned();
$table->decimal($decimalColumnName);
$table->unsignedDecimal($decimalUnsignedColumnName);
$table->decimal($decimalUnsignedColumnName)->unsigned();
$table->decimal($decimalNullableColumnName)->nullable();
});

Expand Down

0 comments on commit 2844553

Please sign in to comment.