Updated documentation
This commit is contained in:
parent
cfb7873719
commit
ab44842af1
|
@ -237,7 +237,7 @@ You can define which connection to use:
|
|||
|
||||
You can load your own fixtures by using the following command:
|
||||
|
||||
> php app/console propel:fixtures:load [-d|--dir[="..."]] [--xml] [--sql] [--yml] [--connection[="..."]]
|
||||
> php app/console propel:fixtures:load [-d|--dir[="..."]] [--xml] [--sql] [--yml] [--connection[="..."]] [bundle]
|
||||
|
||||
As usual, `--connection` allows to specify a connection.
|
||||
|
||||
|
@ -278,6 +278,11 @@ A valid _YAML fixtures file_ is:
|
|||
Description: Hello world !
|
||||
```
|
||||
|
||||
You can load all fixtures files from a given _bundle_:
|
||||
|
||||
> php app/console propel:fixtures:load @MySuperBundle
|
||||
|
||||
|
||||
You can dump data into YAML fixtures file by using this command:
|
||||
|
||||
> php app/console propel:fixtures:dump [--connection[="..."]]
|
||||
|
|
Loading…
Reference in a new issue