예제 #1
0
 /**
  * Gets the big integer SQL declaration.
  * @param array $options The big integer options.
  * @return string The big integer SQL declaration.
  */
 public function getBigIntegerSQLDeclaration(array $options = [])
 {
     if (isset($options['auto_increment']) && $options['auto_increment']) {
         return 'BIGSERIAL';
     }
     return parent::getBigIntegerSQLDeclaration($options);
 }
예제 #2
0
 /**
  * Gets the big integer SQL declaration.
  * @param array $options The big integer options.
  * @return string The big integer SQL declaration.
  */
 public function getBigIntegerSQLDeclaration(array $options = [])
 {
     return parent::getBigIntegerSQLDeclaration($options) . $this->_getIntegerSQLDeclarationSnippet($options);
 }