public function alterDbTable($model, $oldDbTableName, $newDbTableName)
    {
        if ($oldDbTableName === $newDbTableName) {
            return;
        }
        $this->renameTable($oldDbTableName, $newDbTableName);
    }
public function alterDbTable($model, $oldDbTableName, $newDbTableName)
    {
        if ($oldDbTableName === $newDbTableName) {
            return;
        }
        $this->renameTable($oldDbTableName, $newDbTableName);
    }
public function alterDbTable ( $ model , $ oldDbTableName , $ newDbTableName ) { if ( $ oldDbTableName === $ newDbTableName ) { return ; } $ this -> renameTable ( $ oldDbTableName , $ newDbTableName ) ; }
Renames the table a model points to.

@param Model  $model
@param string $oldDbTableName
@param string $newDbTableName

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>

@throws \Doctrine\DBAL\DBALException
Renames the table a model points to .