From 2f3a5e999853aed0f1f754f8eded207d12fbd580 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 27 Jun 2024 09:09:39 +1000 Subject: [PATCH] Fixes wrong column reference --- src/Drivers/DatabaseDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drivers/DatabaseDriver.php b/src/Drivers/DatabaseDriver.php index 5203472..95e5615 100644 --- a/src/Drivers/DatabaseDriver.php +++ b/src/Drivers/DatabaseDriver.php @@ -278,7 +278,7 @@ public function set($feature, $scope, $value): void 'value' => json_encode($value, flags: JSON_THROW_ON_ERROR), static::CREATED_AT => $now = Carbon::now(), static::UPDATED_AT => $now, - ], uniqueBy: ['name', 'scope'], update: ['value', static::CREATED_AT]); + ], uniqueBy: ['name', 'scope'], update: ['value', static::UPDATED_AT]); } /**