dev-env: changes for docker and seeders

This commit is contained in:
ehsan.moradi
2025-04-22 17:14:24 +03:30
parent 66812c5ed4
commit 6b18d07b73
5 changed files with 81 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class PackageFactory extends Factory
'bar_code' => $this->faker->optional()->word,
'qr_code' => $this->faker->optional()->word,
'creator_id' => User::factory(), // ایجاد کاربر دیگر به عنوان creator
'status' => $this->faker->randomElement(['approved', 'rejected', 'suspended']),
'status' => $this->faker->randomElement(['approved', 'rejected', 'pending']),
'created_at' => now(),
'updated_at' => now(),
];