filter tables by current schema

We have a number of rails services talking to the same database and are using schema objects to logically partition the database. This is accomplished by setting the default schema for the independent database users that each service uses. Everything works great, except that when doing a db:schema:dump (for example, after a db:migrate) - the schema.rb file picks up all tables from all schemas.

This is a small change that filters the tables list by the session's current schema - there might be a better way to approach this - if you can think of one, let me know!