Fix real_tables for multischema users

real_tables was not using database_schema, which was causing link_outdated_tables to unlink/ghostify tables with different OIDs.