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