From 1580ffbb245cbbf45e61b7e0e7e40c24e7392d93 Mon Sep 17 00:00:00 2001 From: Digimer Date: Mon, 20 Jun 2022 22:49:01 -0400 Subject: [PATCH] Added the 'oui' table to the resync list again. Signed-off-by: Digimer --- Anvil/Tools/Database.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Anvil/Tools/Database.pm b/Anvil/Tools/Database.pm index bdcae548..9076a0e7 100644 --- a/Anvil/Tools/Database.pm +++ b/Anvil/Tools/Database.pm @@ -16139,7 +16139,6 @@ sub resync_databases next if $table eq "alert_sent"; next if $table eq "states"; next if $table eq "update"; - next if $table eq "oui"; # If the 'schema' is 'public', there is no table in the history schema. my $schema = $anvil->data->{sys}{database}{table}{$table}{schema} ? $anvil->data->{sys}{database}{table}{$table}{schema} : "public"; @@ -18034,7 +18033,6 @@ sub _find_behind_databases { # We don't sync 'states' or 'oui' as it's transient and sometimes per-DB. next if $table eq "states"; - next if $table eq "oui"; # Does this table exist yet? my $query = "SELECT COUNT(*) FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND table_schema = 'public' AND table_name = ".$anvil->Database->quote($table).";"; @@ -18150,7 +18148,6 @@ ORDER BY next if $table eq "alert_sent"; next if $table eq "states"; next if $table eq "update"; - next if $table eq "oui"; $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { "sys::database::table::${table}::last_updated" => $anvil->data->{sys}{database}{table}{$table}{last_updated},