/** * Gets the integer SQL declaration. * @param array $options The integer options. * @return string The integer SQL declaration. */ public function getIntegerSQLDeclaration(array $options = []) { if (isset($options['auto_increment']) && $options['auto_increment']) { return 'SERIAL'; } return parent::getIntegerSQLDeclaration($options); }
/** * Gets the integer SQL declaration. * @param array $options The integer options. * @return string The integer SQL declaration. */ public function getIntegerSQLDeclaration(array $options = []) { return parent::getIntegerSQLDeclaration($options) . $this->_getIntegerSQLDeclarationSnippet($options); }