Add migration to delete the image and styles from banners, in order to use background_color and font_color

This commit is contained in:
iagirre
2018-01-25 09:59:42 +01:00
committed by Angel Perez
parent 3e4d095e6f
commit 3dcd7886d7
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
class RemoveImageAndStyleFromBanners < ActiveRecord::Migration
def change
remove_column :banners, :image
remove_column :banners, :style
end
end