From f1aa3cad2ccb0e44ee2a2b29532ef6b4dc5a17f6 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 25 Feb 2024 20:40:56 +0100 Subject: [PATCH] set last_ping to null for current flows --- backend/migrations/20240225193945_set_last_ping_null.down.sql | 1 + backend/migrations/20240225193945_set_last_ping_null.up.sql | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 backend/migrations/20240225193945_set_last_ping_null.down.sql create mode 100644 backend/migrations/20240225193945_set_last_ping_null.up.sql diff --git a/backend/migrations/20240225193945_set_last_ping_null.down.sql b/backend/migrations/20240225193945_set_last_ping_null.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20240225193945_set_last_ping_null.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20240225193945_set_last_ping_null.up.sql b/backend/migrations/20240225193945_set_last_ping_null.up.sql new file mode 100644 index 0000000000..7bf55a0b8d --- /dev/null +++ b/backend/migrations/20240225193945_set_last_ping_null.up.sql @@ -0,0 +1,2 @@ +-- Add up migration script here +UPDATE queue SET last_ping = NULL WHERE job_kind = 'flow' OR job_kind = 'flowpreview'; \ No newline at end of file