init: redis
This commit is contained in:
23
database/seeders/StandaloneRedisSeeder.php
Normal file
23
database/seeders/StandaloneRedisSeeder.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\StandaloneDocker;
|
||||
use App\Models\StandalonePostgresql;
|
||||
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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user