Commit f9cc750e by Mark

guides fixed/improved

parent e050aeac
......@@ -62,6 +62,12 @@ yii fixture users
// apply several fixtures to several tables. Note that there should not be any whitespace between ",", it should be one string.
yii fixture users,users_profiles
// apply all fixtures
yii fixture/apply all
// same as above
yii fixture all
// apply fixtures to the table users, but fixtures will be taken from different path.
yii fixture users --fixturePath='@app/my/custom/path/to/fixtures'
......@@ -80,6 +86,9 @@ yii fixture/clear users
// clear several tables. Note that there should not be any whitespace between ",", it should be one string.
yii fixture/clear users,users_profile
// clear all tables of current connection in current schema
yii fixture/clear all
```
Configure Command Globally
......
......@@ -104,7 +104,7 @@ will be created under the fixtures path (by default ```@tests/unit/fixtures```)
You can generate fixtures for all templates by specifying keyword ```all```.
```php
php yii fixture/generate all_fixtures
php yii fixture/generate all
```
This command will generate fixtures for all template files that are stored under template path and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment