From 3fa7b72185f4f1619802a9862b2a5cbe30b53e38 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 27 Jun 2024 17:57:46 +1000 Subject: [PATCH] Fixes wrong column reference (#109) --- 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]); } /**