protected function extractDefault($defaultValue) { if ($this->dbType === 'timestamp' && $defaultValue === 'CURRENT_TIMESTAMP') { $this->defaultValue = null; } else { parent::extractDefault($defaultValue); } }
protected function extractDefault($defaultValue) { if (strpos($dbType, 'timestamp') !== false) { $this->defaultValue = null; } else { parent::extractDefault($defaultValue); } }
protected function extractDefault($defaultValue) { if ($this->dbType === 'timestamp') { $this->defaultValue = null; } else { parent::extractDefault(str_replace(array('(', ')', "'"), '', $defaultValue)); } }