. */ /** * Doctrine_Task_BuildDb * * @package Doctrine * @subpackage Task * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.com * @since 1.0 * @version $Revision: 2761 $ * @author Jonathan H. Wage */ class Doctrine_Task_CreateDb extends Doctrine_Task { public $description = 'Create database for each of your connections', $optionalArguments = array('connection' => 'Optionally specify a single connection to create the database for.'); public function execute() { Doctrine_Facade::createDatabases($this->getArgument('connection')); } }