summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-25 18:17:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-25 18:17:54 +0100
commitedf46429339c3b2920787722e4a9d7e87cd5c33c (patch)
tree055e9467d8180cdcb34e8fdeb7d02e31148de8e2
parenta3688f64d5121e6ee14c55a21da02398cb28b995 (diff)
Migrate munin command
-rw-r--r--lib/Travelynx/Command/munin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/munin.pm b/lib/Travelynx/Command/munin.pm
index 23ed747..67f7695 100644
--- a/lib/Travelynx/Command/munin.pm
+++ b/lib/Travelynx/Command/munin.pm
@@ -26,7 +26,7 @@ sub run {
my $checkin_window_query
= $dbh->prepare(
- qq{select count(*) from user_actions where action_id = 1 and action_time > ?;}
+ qq{select count(*) from user_actions where action_id = 1 and action_time > to_timestamp(?);}
);
query_to_munin( 'reg_user_count',