From 8154882b315617a09109c408f8d19adce825a2c7 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sat, 2 Dec 2023 18:48:08 +0100 Subject: [PATCH] Update flake inputs --- flake.lock | 6 +++--- nixos-configurations/server/default.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 2293647..0608526 100644 --- a/flake.lock +++ b/flake.lock @@ -248,11 +248,11 @@ ] }, "locked": { - "lastModified": 1700600066, - "narHash": "sha256-+wI//q8mND8A0AihXJlZNAqX3Z5WQ6emJwBlwKa0mWw=", + "lastModified": 1701538969, + "narHash": "sha256-lew3ve6tYpfZa7tcJBreDstP8tT9DbjFp4XxGZt84Ac=", "owner": "thiloho", "repo": "todos", - "rev": "4de23acbbf0fd0b782dd8ecb3ac97f7bb46b47c1", + "rev": "84ccb21a2f1f3690368b62a870755d56a53a782c", "type": "github" }, "original": { diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index b12149a..18974b2 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -459,7 +459,7 @@ pkgs.postgresql_15 ]; script = '' - psql -d todos -c "UPDATE user_todo SET is_overdue = true WHERE due_date::date < (CURRENT_DATE + INTERVAL '1 hour') AND is_completed = false AND is_overdue = false" + psql -d todos -c "UPDATE user_todo SET is_overdue = true WHERE due_date::date < CURRENT_DATE AND is_completed = false AND is_overdue = false" ''; serviceConfig = { User = "postgres";