1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

Merged pull request #48 from rdohms/master.

Fixing docblocks in SchemaTool
This commit is contained in:
Guilherme Blanco 2011-04-26 18:05:59 -07:00
commit f73c7f3be0

View file

@ -657,9 +657,11 @@ class SchemaTool
/**
* Updates the database schema of the given classes by comparing the ClassMetadata
* ins$tableNametances to the current database schema that is inspected.
* instances to the current database schema that is inspected. If $saveMode is set
* to true the command is executed in the Database, else SQL is returned.
*
* @param array $classes
* @param boolean $saveMode
* @return void
*/
public function updateSchema(array $classes, $saveMode=false)
@ -675,8 +677,11 @@ class SchemaTool
/**
* Gets the sequence of SQL statements that need to be performed in order
* to bring the given class mappings in-synch with the relational schema.
* If $saveMode is set to true the command is executed in the Database,
* else SQL is returned.
*
* @param array $classes The classes to consider.
* @param boolean $saveMode True for writing to DB, false for SQL string
* @return array The sequence of SQL statements.
*/
public function getUpdateSchemaSql(array $classes, $saveMode=false)