Browse files

adds migration to change table name for namespace

  • Loading branch information...
1 parent c3b328a commit 7d74b78d2e22e5a831bc06b3863522bd7d10be86 @kennyadsl kennyadsl committed Apr 3, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 db/migrate/20120403121743_rename_pages_to_namespace.rb
View
5 db/migrate/20120403121743_rename_pages_to_namespace.rb
@@ -0,0 +1,5 @@
+class RenamePagesToNamespace < ActiveRecord::Migration
+ def change
+ rename_table :pages, :spree_pages
+ end
+end

0 comments on commit 7d74b78

Please sign in to comment.