10 lines
337 B
PHP
10 lines
337 B
PHP
|
<?php
|
||
|
|
||
|
namespace Driver\SQL\Column;
|
||
|
|
||
|
class FloatColumn extends NumericColumn {
|
||
|
public function __construct(string $name, bool $nullable, $defaultValue = NULL, ?int $totalDigits = null, ?int $decimalDigits = null) {
|
||
|
parent::__construct($name, $nullable, $defaultValue, $totalDigits, $decimalDigits);
|
||
|
$this->type = "FLOAT";
|
||
|
}
|
||
|
}
|