# We don't sync 'states' or 'oui' as it's transient and sometimes per-DB.
# We don't sync 'states' or 'oui' as it's transient and sometimes per-DB.
nextif$tableeq"states";
nextif$tableeq"states";
nextif$tableeq"oui";
# Does this table exist yet?
# 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).";";
my$query="SELECT COUNT(*) FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND table_schema = 'public' AND table_name = ".$anvil->Database->quote($table).";";