factory - Related information

  • When Laravel uses the $appends of the model modifier, faker cannot be used to generate fake data

    version: laravel 5.7 when using the $appends attribute of the model modifier to add elements and using faker to generate false data, an error is reported: Unknown column sex_str Model related code: $factory->define( App Models User::cl...

    Nov.17,2021
  • MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32588-2b583.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1b32588-2b583.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?