Beispiel #1
0
 /**
  * Gets the date time SQL declaration.
  * @param array $options The date time options.
  * @return string The date time SQL declaration.
  */
 public function getDateTimeSQLDeclaration(array $options = [])
 {
     if (isset($options['version']) && $options['version']) {
         return 'TIMESTAMP';
     }
     return parent::getDateTimeSQLDeclaration($options);
 }