Permalink
Browse files

fix doc

  • Loading branch information...
1 parent 7ff2441 commit d03ff2610746a30c84dc71d793f97279fc2ef013 @jaugustin jaugustin committed Nov 11, 2012
Showing with 5 additions and 3 deletions.
  1. +3 −1 Resources/doc/commands.markdown
  2. +2 −2 Resources/doc/index.markdown
@@ -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:
@@ -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.

0 comments on commit d03ff26

Please sign in to comment.