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

For ENUM #23

Open
timoteo7 opened this issue Aug 9, 2018 · 3 comments
Open

For ENUM #23

timoteo7 opened this issue Aug 9, 2018 · 3 comments

Comments

@timoteo7
Copy link

timoteo7 commented Aug 9, 2018

Migration:
$table->enum('status',['ACTIVE','DISABLED','EXPIRED','WAITING','CONSUMED']);

Factory:
'status'=> $faker->randomElement($array = array ('ACTIVE','DISABLED','EXPIRED','WAITING','CONSUMED')),

@jrmadsen67
Copy link

@timoteo7 what is the problem we should be seeing?

please be a bit more verbose in your tickets

@timoteo7
Copy link
Author

For string, or for interger this factory helper, can you make this for 'ENUM' too ?

like in example that i put,
The 'Migration' is what i have, the 'Factory' is what i expected

(sorry my english)

@skeets23
Copy link
Contributor

#45 will fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants