maintenance: Also delete pending_passwords entries
This commit is contained in:
parent
25d0530e86
commit
0226eba60a
1 changed files with 3 additions and 1 deletions
|
@ -88,6 +88,8 @@ sub run {
|
||||||
my $stats_res = $db->delete( 'journey_stats', { user_id => $uid } );
|
my $stats_res = $db->delete( 'journey_stats', { user_id => $uid } );
|
||||||
my $journeys_res = $db->delete( 'journeys', { user_id => $uid } );
|
my $journeys_res = $db->delete( 'journeys', { user_id => $uid } );
|
||||||
my $transit_res = $db->delete( 'in_transit', { user_id => $uid } );
|
my $transit_res = $db->delete( 'in_transit', { user_id => $uid } );
|
||||||
|
my $password_res
|
||||||
|
= $db->delete( 'pending_passwords', { user_id => $uid } );
|
||||||
my $user_res = $db->delete( 'users', { id => $uid } );
|
my $user_res = $db->delete( 'users', { id => $uid } );
|
||||||
|
|
||||||
printf( " %d tokens, %d monthly stats, %d journeys\n",
|
printf( " %d tokens, %d monthly stats, %d journeys\n",
|
||||||
|
|
Loading…
Reference in a new issue