diff --git a/src/Phact/Orm/Fields/DecimalField.php b/src/Phact/Orm/Fields/DecimalField.php index ac7ac24..2757eef 100644 --- a/src/Phact/Orm/Fields/DecimalField.php +++ b/src/Phact/Orm/Fields/DecimalField.php @@ -47,7 +47,7 @@ public function dbPrepareValue($value) public function mainSqlType() { - return "DECIMAL({$this->precision}, {$this->scale})"; + return "decimal({$this->precision}, {$this->scale})"; } /** @@ -55,7 +55,7 @@ public function mainSqlType() */ public function getType() { - return "DECIMAL"; + return "decimal"; } public function getColumnOptions() @@ -69,4 +69,4 @@ public function getColumnOptions() } return $options; } -} \ No newline at end of file +}