You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think, because laravel has mutators, especially casts attribute, it is a good idea to generate factory based on columns type. Momentally, factory is generated based on $fillable attribute, and in the factory's file to column is assigned $faker->word. You can add $faker->boolean for boolean column, etc. Sorry for my english.
The text was updated successfully, but these errors were encountered:
I think, because laravel has mutators, especially casts attribute, it is a good idea to generate factory based on columns type. Momentally, factory is generated based on $fillable attribute, and in the factory's file to column is assigned $faker->word. You can add $faker->boolean for boolean column, etc. Sorry for my english.
The text was updated successfully, but these errors were encountered: