/**
  * @param \Doctrine\ORM\Tools\Event\SchemaAlterTableAddColumnEventArgs $args
  */
 public function onSchemaAlterTableAddColumn(SchemaAlterTableAddColumnEventArgs $args)
 {
     $column = $args->getColumn();
     if (!$column->getType() instanceof \Doctrine\Spatial\DBAL\Types\Type) {
         return;
     }
     $platform = $args->getPlatform();
     $diff = $args->getTableDiff();
     $tableName = $diff->newName !== false ? $diff->newName : $diff->name;
     $args->preventDefault()->addSql($this->getAddColumnSQL($tableName, $column->getQuotedName($platform), $column));
 }