database backups

This commit is contained in:
Saeed Vaziry
2023-08-25 21:05:18 +02:00
parent f9ac454a7c
commit ea3f011f34
55 changed files with 1111 additions and 172 deletions

View File

@ -2,6 +2,7 @@
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class StorageProviderFactory extends Factory
@ -9,7 +10,10 @@ class StorageProviderFactory extends Factory
public function definition(): array
{
return [
//
'profile' => $this->faker->word(),
'provider' => $this->faker->randomElement(\App\Enums\StorageProvider::getValues()),
'credentials' => [],
'user_id' => User::factory(),
];
}
}