Added 'sessions' to the age-out table list

* To help mitigate issue #520.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent 09fcc45c4a
commit 556e892002
  1. 3
      Anvil/Tools/Database.pm

@ -19209,6 +19209,9 @@ sub _age_out_data
$to_clean->{table}{bonds}{child_table}{bonds}{uuid_column} = "bond_uuid"; $to_clean->{table}{bonds}{child_table}{bonds}{uuid_column} = "bond_uuid";
$to_clean->{table}{ip_addresses}{child_table}{ip_addresses}{uuid_column} = "ip_address_uuid"; $to_clean->{table}{ip_addresses}{child_table}{ip_addresses}{uuid_column} = "ip_address_uuid";
# Misc stuff
$to_clean->{table}{sessions}{child_table}{sessions}{uuid_column} = "session_uuid";
my $vacuum = 0; my $vacuum = 0;
foreach my $table (sort {$a cmp $b} keys %{$to_clean->{table}}) foreach my $table (sort {$a cmp $b} keys %{$to_clean->{table}})
{ {

Loading…
Cancel
Save