Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert faker data to database #9

Open
CraryPrimitiveMan opened this issue Sep 28, 2015 · 0 comments
Open

Insert faker data to database #9

CraryPrimitiveMan opened this issue Sep 28, 2015 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:docs Documentation

Comments

@CraryPrimitiveMan
Copy link

If I want to insert faker data to database, what should I do?
I add the following code in my application configuration (console.php):

'controllerMap' => [
    'fixture' => [
        'class' => '@tests\faker\FixtureController',
    ],
],

And I rewrite the actionGenerate in @tests\faker\FixtureController. Is it right?

@cebe cebe added the type:docs Documentation label Sep 28, 2015
@samdark samdark added the status:ready for adoption Feel free to implement this issue. label Feb 19, 2018
@samdark samdark added this to the 2.0.5 milestone Feb 19, 2018
@samdark samdark removed this from the 2.0.5 milestone Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:docs Documentation
Projects
None yet
Development

No branches or pull requests

3 participants