Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing issue where the prefix tables with spree migration was clashin…

…g with the same-named one in spree_comments
  • Loading branch information...
commit 29476a688b306b752186e552d26dda62fc9f2d6c 1 parent db47348
@radar radar authored
View
6 db/migrate/20111129044813_prefix_tables_with_spree.rb
@@ -1,6 +0,0 @@
-class PrefixTablesWithSpree < ActiveRecord::Migration
- def change
- rename_table :relation_types, :spree_relation_types
- rename_table :relations, :spree_relations
- end
-end
View
6 db/migrate/20111129044813_prefixing_tables_with_spree.rb
@@ -0,0 +1,6 @@
+class PrefixingTablesWithSpree < ActiveRecord::Migration
+ def change
+ rename_table :relation_types, :spree_relation_types
+ rename_table :relations, :spree_relations
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.