title: Way to view Rails Migration output
body: <p>Is there an easy way to see the actual SQL generated by a rails migration?</p>
  
  <p>I have a situation where a migration to change a column type worked on my local development machine by partially failed on the production server. </p>
  
  <p>My postgreSQL versions are different between local and production (7 on production, 8 on local) so I'm hoping by looking at the SQL generated on the successful migration locally I can work out a SQL statement to run on production to fix things....</p>