aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@andeuin.net>2013-11-24 12:38:35 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-11-14 12:07:51 +0100
commit9d4f8de011ab8df9c7b3d51bed61d64f8417b6d2 (patch)
tree41064a1477ad83826b141753393886cca375475a /db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb
parent0d588701cce86c990ab3a0e3f41700f1a125114b (diff)
downloadhmnoweb-9d4f8de011ab8df9c7b3d51bed61d64f8417b6d2.tar.gz
hmnoweb-9d4f8de011ab8df9c7b3d51bed61d64f8417b6d2.tar.bz2
hmnoweb-9d4f8de011ab8df9c7b3d51bed61d64f8417b6d2.zip
Upgrade to refinery 2.1.0
Diffstat (limited to 'db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb')
-rw-r--r--db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb b/db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb
new file mode 100644
index 0000000..8ec2e55
--- /dev/null
+++ b/db/migrate/20131124113030_remove_image_ext_from_refinery_images.refinery_images.rb
@@ -0,0 +1,10 @@
+# This migration comes from refinery_images (originally 20120625093918)
+class RemoveImageExtFromRefineryImages < ActiveRecord::Migration
+ def up
+ remove_column :refinery_images, :image_ext
+ end
+
+ def down
+ add_column :refinery_images, :image_ext, :string
+ end
+end