I am trying to view my Heroku app\'s schema in Terminal (Mac OS X Lion) and stumbled upon a command that does just that. In Terminal, I run heroku run more db/schema.rb
heroku run more db/schema.rb
You could run heroku pg:psql to fire up a Postgres console, then issue \d to see all tables, and \d tablename to see details for a particular table.
heroku pg:psql
\d
\d tablename