This commit is contained in:
jaugustin 2012-11-11 19:06:48 +01:00
parent 7ff244193d
commit d03ff26107
2 changed files with 5 additions and 3 deletions

View file

@ -49,7 +49,9 @@ It will write files in `app/propel/graph/`.
Generates SQL diff between the XML schemas and the current database structure:
> php app/console propel:migration:generate-diff
> php app/console propel:migration:generate-diff [--connection[=""]]
As usual, `--connection` allows to specify a connection.
Executes the migrations:

View file

@ -78,11 +78,11 @@ You are almost ready, the next steps are:
Now, you can build your model classes, and SQL by running the following command:
> php app/console propel:build [--classes] [--sql] [--insert-sql]
> php app/console propel:build [--classes] [--sql] [--insert-sql] [--connection[=""]]
To insert SQL statements, use the `propel:sql:insert` command:
> php app/console propel:sql:insert [--force]
> php app/console propel:sql:insert [--force] [--connection[=""]]
Note that the `--force` option is needed to actually execute the SQL statements.