aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb')
-rw-r--r--db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb b/db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb
new file mode 100644
index 0000000..d613730
--- /dev/null
+++ b/db/migrate/20130611193610_change_page_to_polymorphic.refinery_page_images.rb
@@ -0,0 +1,6 @@
+# This migration comes from refinery_page_images (originally 20110527052435)
+class ChangePageToPolymorphic < ActiveRecord::Migration
+ def change
+ add_column Refinery::ImagePage.table_name, :page_type, :string, :default => "page"
+ end
+end