Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
f9cc750e
Commit
f9cc750e
authored
Jan 05, 2014
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guides fixed/improved
parent
e050aeac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
console-fixture.md
docs/guide/console-fixture.md
+9
-0
README.md
extensions/yii/faker/README.md
+1
-1
No files found.
docs/guide/console-fixture.md
View file @
f9cc750e
...
...
@@ -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
...
...
extensions/yii/faker/README.md
View file @
f9cc750e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment