spree/spree — pull request #713 by hoverlover (2011-10-23 21:45:24+00:00)
Title: Fixes problem when trying to migrate with PostgreSQL

You can read the comments in `core/config/initializers/old_tables.rb` to get the details of the issue this commit fixes. Basically, when running under PostgreSQL, the migrations would fail when the table names were temporarily set using `.table_name = 'blah'`. This is the cleanest way I could find to fix it. Let me know if you have any questions.