summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-13 11:52:26 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-13 11:52:26 +0200
commit61b1ef398e275a110173ed77556ff211adc1ba82 (patch)
tree475a3629f4674f4fbeca93751eb444044dda1761 /lib/Travelynx
parent9df9f7c8451ecf82c29e8faab872ef6caafe336c (diff)
maintenance: Fix stats table name
Diffstat (limited to 'lib/Travelynx')
-rw-r--r--lib/Travelynx/Command/maintenance.pm2
1 files changed, 1 insertions, 1 deletions
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 = ?;});