fix(redis): update environment variable keys from standalone_redis_id to resourceable_id
This commit is contained in:
parent
f8f361a2b7
commit
52a38f238b
1 changed files with 2 additions and 2 deletions
|
|
@ -88,12 +88,12 @@ public function submit()
|
||||||
if (version_compare($this->redis_version, '6.0', '>=')) {
|
if (version_compare($this->redis_version, '6.0', '>=')) {
|
||||||
$this->database->runtime_environment_variables()->updateOrCreate(
|
$this->database->runtime_environment_variables()->updateOrCreate(
|
||||||
['key' => 'REDIS_USERNAME'],
|
['key' => 'REDIS_USERNAME'],
|
||||||
['value' => $this->redis_username, 'standalone_redis_id' => $this->database->id]
|
['value' => $this->redis_username, 'resourceable_id' => $this->database->id]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$this->database->runtime_environment_variables()->updateOrCreate(
|
$this->database->runtime_environment_variables()->updateOrCreate(
|
||||||
['key' => 'REDIS_PASSWORD'],
|
['key' => 'REDIS_PASSWORD'],
|
||||||
['value' => $this->redis_password, 'standalone_redis_id' => $this->database->id]
|
['value' => $this->redis_password, 'resourceable_id' => $this->database->id]
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->database->save();
|
$this->database->save();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue