lasthourcloud/database/seeders/StandaloneRedisSeeder.php

23 lines
544 B
PHP
Raw Normal View History

2023-10-12 15:18:33 +00:00
<?php
namespace Database\Seeders;
use App\Models\StandaloneDocker;
use App\Models\StandaloneRedis;
use Illuminate\Database\Seeder;
class StandaloneRedisSeeder extends Seeder
{
public function run(): void
{
StandaloneRedis::create([
'name' => 'Local PostgreSQL',
'description' => 'Local PostgreSQL for testing',
'redis_password' => 'redis',
'environment_id' => 1,
'destination_id' => 0,
'destination_type' => StandaloneDocker::class,
]);
}
}