Railsy way to Export Database Schema?

rake db:schema:dump

This will dump the current schema into a file called schema.rb in your db directory.