. */ /** * Doctrine_Task_CreateTables * * @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_CreateTables extends Doctrine_Task { public $description = 'Create tables for all existing database connections', $requiredArguments = array('models_path' => 'Specify path to your models directory.'), $optionalArguments = array(); public function execute() { Doctrine_Facade::createTablesFromModels($this->getArgument('models_path')); } }