From 61b1ef398e275a110173ed77556ff211adc1ba82 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 13 Apr 2019 11:52:26 +0200 Subject: maintenance: Fix stats table name --- lib/Travelynx/Command/maintenance.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx/Command/maintenance.pm b/lib/Travelynx/Command/maintenance.pm index 329855b..3ff4000 100644 --- a/lib/Travelynx/Command/maintenance.pm +++ b/lib/Travelynx/Command/maintenance.pm @@ -39,7 +39,7 @@ qq{delete from users where status = 0 and registered_at < to_timestamp(?);} my $drop_tokens_query = $dbh->prepare(qq{delete from tokens where user_id = ?;}); my $drop_stats_query - = $dbh->prepare(qq{delete from monthly_stats where user_id = ?;}); + = $dbh->prepare(qq{delete from journey_stats where user_id = ?;}); my $drop_actions_query = $dbh->prepare(qq{delete from user_actions where user_id = ?;}); my $drop_user_query = $dbh->prepare(qq{delete from users where id = ?;}); -- cgit v1.2.3