Read the migrations table from the configuration
This commit is contained in:
parent
83f41ffa85
commit
530403636a
5 changed files with 20 additions and 8 deletions
|
|
@ -316,6 +316,18 @@ abstract class AbstractCommand extends ContainerAwareCommand
|
|||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the name of the migrations table.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getMigrationsTable()
|
||||
{
|
||||
$config = $this->getContainer()->getParameter('propel.configuration');
|
||||
|
||||
return $config['migrations']['tableName'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the name of the default connection.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue