Skip to content

Commit dbb7f47

Browse files
committed
Fix default column type to decimal - better representation of php float
1 parent 481245a commit dbb7f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/Columns/Float_Column.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Float_Column extends Column implements Lengthable, Signable, Precisionable
6060
*
6161
* @var string
6262
*/
63-
protected string $type = Column_Types::FLOAT;
63+
protected string $type = Column_Types::DECIMAL;
6464

6565
/**
6666
* The PHP type of the column.

0 commit comments

Comments
 (0)