CartoDB/cartodb — pull request #603 by zenitraM (2014-07-21 11:37:17+00:00)
Title: 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.