From 214b98d28ffd03b0c669b81afc0c0705ed26f54f Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 3 Mar 2023 14:22:21 +0000 Subject: [PATCH] #949 replace other occurances of now() with LOCALTIMESTAMP --- lib/App/Netdisco/DB/Result/DeviceSkip.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/DB/Result/DeviceSkip.pm b/lib/App/Netdisco/DB/Result/DeviceSkip.pm index e9b41e53..d0b38440 100644 --- a/lib/App/Netdisco/DB/Result/DeviceSkip.pm +++ b/lib/App/Netdisco/DB/Result/DeviceSkip.pm @@ -40,7 +40,7 @@ sub increment_deferrals { return unless $row->in_storage; return $row->update({ deferrals => (($row->deferrals || 0) + 1), - last_defer => \'now()', + last_defer => \'LOCALTIMESTAMP', }); }