Refactor migration to move Redis password to environment variables
This commit is contained in:
parent
a88829eaec
commit
8806ec6c59
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ public function up(): void
|
|||
try {
|
||||
StandaloneRedis::chunkById(100, function ($redisInstances) {
|
||||
foreach ($redisInstances as $redis) {
|
||||
loggy('Moving Redis password to envs', ['redis_id' => $redis->id,'redis_password' => $redis->redis_password]);
|
||||
EnvironmentVariable::create([
|
||||
'standalone_redis_id' => $redis->id,
|
||||
'key' => 'REDIS_PASSWORD',
|
||||
|
|
|
|||
Loading…
Reference in a new issue