Let Automigration work with both Rails 3 and 4