/**
  * {@inheritdoc}
  */
 protected function checkTableName($tableName, Migration $migration)
 {
     parent::checkTableName($tableName, $migration);
     if (strlen($tableName) > $this->nameGenerator->getMaxIdentifierSize()) {
         throw new InvalidNameException(sprintf('Max table name length is %s. Please correct "%s" table in "%s" migration', $this->nameGenerator->getMaxIdentifierSize(), $tableName, get_class($migration)));
     }
 }