Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getColumnTypes()
 {
     return array_merge(parent::getColumnTypes(), array('filestream'));
 }
Exemplo n.º 2
0
 /**
  * Returns MySQL column types (inherited and MySQL specified).
  * @return array
  */
 public function getColumnTypes()
 {
     return array_merge(parent::getColumnTypes(), array('enum', 'set', 'year', 'json'));
 }
 /**
  * {@inheritdoc}
  */
 public function isValidColumnType(Column $column)
 {
     // If not a standard column type, maybe it is array type?
     return parent::isValidColumnType($column) || $this->isArrayType($column->getType());
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function getColumnTypes()
 {
     return array_merge(parent::getColumnTypes(), array('json'));
 }