public function getQueryColumnType() { if ($this->getInteger()) { return "bigint(20)"; } if ($this->getDecimalPrecision()) { return "decimal(64, " . intval($this->getDecimalPrecision()) . ")"; } return parent::getQueryColumnType(); }