mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
db:seed cleanup
This commit is contained in:
1 parent
33499107b7
commit
dfac41f30a
9 files changed
+75
-18
No files matched your search
@@ -17,7 +17,7 @@ class AttachmentFactory extends Factory
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$extension = fake()->fileExtension();
|
||||
$extension = fake()->randomElement(['jpg', 'png', 'jpeg', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'txt', 'csv']);
|
||||
|
||||
return [
|
||||
'original_name' => fake()->words(2, true) . '.' . $extension,
|
||||
|
||||
Reference in new issue
Block a user