diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-13 11:52:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-13 11:52:26 +0200 |
commit | 61b1ef398e275a110173ed77556ff211adc1ba82 (patch) | |
tree | 475a3629f4674f4fbeca93751eb444044dda1761 /lib/Travelynx | |
parent | 9df9f7c8451ecf82c29e8faab872ef6caafe336c (diff) |
maintenance: Fix stats table name
Diffstat (limited to 'lib/Travelynx')
-rw-r--r-- | lib/Travelynx/Command/maintenance.pm | 2 |
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 = ?;}); |