An error occurred when using tinker to generate a test today
Write more details and wait for the expert to answer why the error occurred
I used migrate to generate the data table
1 2 3 4 5 6 7 8 9 10 |
|
Then my model is
1 |
|
Models/Notice.php only writes
in the model1 2 |
|
ModelFactory.php is like this
1 2 3 4 5 6 |
|
怪我咯2017-05-16 16:53:31
It should be something wrong in Modelfactory.php.
1 2 3 4 |
|
$faker->sentences generates an array. You can judge based on the error message. For details, you can take a look at the usage of faker