Commit 372831d9 authored by Jonathan.Wage's avatar Jonathan.Wage

Tweaks.

parent 34d4f128
...@@ -43,7 +43,7 @@ class Doctrine_Task_BuildAll extends Doctrine_Task ...@@ -43,7 +43,7 @@ class Doctrine_Task_BuildAll extends Doctrine_Task
{ {
parent::__construct($dispatcher); parent::__construct($dispatcher);
$this->models = new Doctrine_Task_GenerateModelsFromYaml($this->dispatcher); $this->models = new Doctrine_Task_GenerateModelsYaml($this->dispatcher);
$this->createDb = new Doctrine_Task_CreateDb($this->dispatcher); $this->createDb = new Doctrine_Task_CreateDb($this->dispatcher);
$this->tables = new Doctrine_Task_CreateTables($this->dispatcher); $this->tables = new Doctrine_Task_CreateTables($this->dispatcher);
......
<?php <?php
/* /*
* $Id: GenerateMigrationsFromDb.php 2761 2007-10-07 23:42:29Z zYne $ * $Id: GenerateMigrationsDb.php 2761 2007-10-07 23:42:29Z zYne $
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
/** /**
* Doctrine_Task_GenerateMigrationsFromDb * Doctrine_Task_GenerateMigrationsDb
* *
* @package Doctrine * @package Doctrine
* @subpackage Task * @subpackage Task
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @version $Revision: 2761 $ * @version $Revision: 2761 $
* @author Jonathan H. Wage <jwage@mac.com> * @author Jonathan H. Wage <jwage@mac.com>
*/ */
class Doctrine_Task_GenerateMigrationsFromDb extends Doctrine_Task class Doctrine_Task_GenerateMigrationsDb extends Doctrine_Task
{ {
public $description = 'Generate migration classes for an existing database', public $description = 'Generate migration classes for an existing database',
$requiredArguments = array('migrations_path' => 'Specify the complete path to your migration classes folder.'), $requiredArguments = array('migrations_path' => 'Specify the complete path to your migration classes folder.'),
......
<?php <?php
/* /*
* $Id: GenerateMigrationsFromModels.php 2761 2007-10-07 23:42:29Z zYne $ * $Id: GenerateMigrationsModels.php 2761 2007-10-07 23:42:29Z zYne $
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
/** /**
* Doctrine_Task_GenerateMigrationsFromModels * Doctrine_Task_GenerateMigrationsModels
* *
* @package Doctrine * @package Doctrine
* @subpackage Task * @subpackage Task
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @version $Revision: 2761 $ * @version $Revision: 2761 $
* @author Jonathan H. Wage <jwage@mac.com> * @author Jonathan H. Wage <jwage@mac.com>
*/ */
class Doctrine_Task_GenerateMigrationsFromModels extends Doctrine_Task class Doctrine_Task_GenerateMigrationsModels extends Doctrine_Task
{ {
public $description = 'Generate migration classes for an existing set of models', public $description = 'Generate migration classes for an existing set of models',
$requiredArguments = array('migrations_path' => 'Specify the path to your migration classes folder.', $requiredArguments = array('migrations_path' => 'Specify the path to your migration classes folder.',
......
<?php <?php
/* /*
* $Id: GenerateYamlFromDb.php 2761 2007-10-07 23:42:29Z zYne $ * $Id: GenerateYamlDb.php 2761 2007-10-07 23:42:29Z zYne $
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
/** /**
* Doctrine_Task_GenerateYamlFromDb * Doctrine_Task_GenerateYamlDb
* *
* @package Doctrine * @package Doctrine
* @subpackage Task * @subpackage Task
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @version $Revision: 2761 $ * @version $Revision: 2761 $
* @author Jonathan H. Wage <jwage@mac.com> * @author Jonathan H. Wage <jwage@mac.com>
*/ */
class Doctrine_Task_GenerateYamlFromDb extends Doctrine_Task class Doctrine_Task_GenerateYamlDb extends Doctrine_Task
{ {
public $description = 'Generates a Yaml schema file from an existing database', public $description = 'Generates a Yaml schema file from an existing database',
$requiredArguments = array('yaml_schema_path' => 'Specify the path to your yaml schema files.'), $requiredArguments = array('yaml_schema_path' => 'Specify the path to your yaml schema files.'),
......
<?php <?php
/* /*
* $Id: GenerateYamlFromModels.php 2761 2007-10-07 23:42:29Z zYne $ * $Id: GenerateYamlModels.php 2761 2007-10-07 23:42:29Z zYne $
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
/** /**
* Doctrine_Task_GenerateYamlFromModels * Doctrine_Task_GenerateFromModels
* *
* @package Doctrine * @package Doctrine
* @subpackage Task * @subpackage Task
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @version $Revision: 2761 $ * @version $Revision: 2761 $
* @author Jonathan H. Wage <jwage@mac.com> * @author Jonathan H. Wage <jwage@mac.com>
*/ */
class Doctrine_Task_GenerateYamlFromModels extends Doctrine_Task class Doctrine_Task_GenerateFromModels extends Doctrine_Task
{ {
public $description = 'Generates a Yaml schema file from existing Doctrine_Record definitions', public $description = 'Generates a Yaml schema file from existing Doctrine_Record definitions',
$requiredArguments = array('yaml_schema_path' => 'Specify the complete directory path to your yaml schema files.', $requiredArguments = array('yaml_schema_path' => 'Specify the complete directory path to your yaml schema files.',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment