Update flake inputs

This commit is contained in:
thiloho
2023-12-02 18:48:08 +01:00
parent 2860526032
commit 8154882b31
2 changed files with 4 additions and 4 deletions

6
flake.lock generated
View File

@@ -248,11 +248,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700600066, "lastModified": 1701538969,
"narHash": "sha256-+wI//q8mND8A0AihXJlZNAqX3Z5WQ6emJwBlwKa0mWw=", "narHash": "sha256-lew3ve6tYpfZa7tcJBreDstP8tT9DbjFp4XxGZt84Ac=",
"owner": "thiloho", "owner": "thiloho",
"repo": "todos", "repo": "todos",
"rev": "4de23acbbf0fd0b782dd8ecb3ac97f7bb46b47c1", "rev": "84ccb21a2f1f3690368b62a870755d56a53a782c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -459,7 +459,7 @@
pkgs.postgresql_15 pkgs.postgresql_15
]; ];
script = '' 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 = { serviceConfig = {
User = "postgres"; User = "postgres";