@@ -446,7 +446,6 @@ The schema builder blueprint offers a variety of methods that correspond to the
446
446
[ tinyInteger] ( #column-method-tinyInteger )
447
447
[ tinyText] ( #column-method-tinyText )
448
448
[ unsignedBigInteger] ( #column-method-unsignedBigInteger )
449
- [ unsignedDecimal] ( #column-method-unsignedDecimal )
450
449
[ unsignedInteger] ( #column-method-unsignedInteger )
451
450
[ unsignedMediumInteger] ( #column-method-unsignedMediumInteger )
452
451
[ unsignedSmallInteger] ( #column-method-unsignedSmallInteger )
@@ -525,9 +524,9 @@ The `decimal` method creates a `DECIMAL` equivalent column with the given precis
525
524
<a name =" column-method-double " ></a >
526
525
#### ` double() ` {.collection-method}
527
526
528
- The ` double ` method creates a ` DOUBLE ` equivalent column with the given precision (total digits) and scale (decimal digits) :
527
+ The ` double ` method creates a ` DOUBLE ` equivalent column:
529
528
530
- $table->double('amount', 8, 2 );
529
+ $table->double('amount');
531
530
532
531
<a name =" column-method-enum " ></a >
533
532
#### ` enum() ` {.collection-method}
@@ -539,9 +538,9 @@ The `enum` method creates a `ENUM` equivalent column with the given valid values
539
538
<a name =" column-method-float " ></a >
540
539
#### ` float() ` {.collection-method}
541
540
542
- The ` float ` method creates a ` FLOAT ` equivalent column with the given precision (total digits) and scale (decimal digits) :
541
+ The ` float ` method creates a ` FLOAT ` equivalent column with the given precision:
543
542
544
- $table->float('amount', 8, 2 );
543
+ $table->float('amount', 53 );
545
544
546
545
<a name =" column-method-foreignId " ></a >
547
546
#### ` foreignId() ` {.collection-method}
@@ -869,13 +868,6 @@ The `unsignedBigInteger` method creates an `UNSIGNED BIGINT` equivalent column:
869
868
870
869
$table->unsignedBigInteger('votes');
871
870
872
- <a name =" column-method-unsignedDecimal " ></a >
873
- #### ` unsignedDecimal() ` {.collection-method}
874
-
875
- The ` unsignedDecimal ` method creates an ` UNSIGNED DECIMAL ` equivalent column with an optional precision (total digits) and scale (decimal digits):
876
-
877
- $table->unsignedDecimal('amount', $precision = 8, $scale = 2);
878
-
879
871
<a name =" column-method-unsignedInteger " ></a >
880
872
#### ` unsignedInteger() ` {.collection-method}
881
873
0 commit comments