Merge pull request #5597 from deeky666/DDC-5596
Fix documentation of schema tool's "save mode"
This commit is contained in:
commit
196ea2d0c5
@ -841,11 +841,11 @@ class SchemaTool
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the database schema of the given classes by comparing the ClassMetadata
|
* Updates the database schema of the given classes by comparing the ClassMetadata
|
||||||
* instances to the current database schema that is inspected. If $saveMode is set
|
* instances to the current database schema that is inspected.
|
||||||
* to true the command is executed in the Database, else SQL is returned.
|
|
||||||
*
|
*
|
||||||
* @param array $classes
|
* @param array $classes
|
||||||
* @param boolean $saveMode
|
* @param boolean $saveMode If TRUE, only performs a partial update
|
||||||
|
* without dropping assets which are scheduled for deletion.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
@ -862,11 +862,10 @@ class SchemaTool
|
|||||||
/**
|
/**
|
||||||
* Gets the sequence of SQL statements that need to be performed in order
|
* 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.
|
* 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 array $classes The classes to consider.
|
||||||
* @param boolean $saveMode True for writing to DB, false for SQL string.
|
* @param boolean $saveMode If TRUE, only generates SQL for a partial update
|
||||||
|
* that does not include SQL for dropping assets which are scheduled for deletion.
|
||||||
*
|
*
|
||||||
* @return array The sequence of SQL statements.
|
* @return array The sequence of SQL statements.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user