1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00
my-images/db/migrate/20181019210305_rename_dragonfly_columns.rb
Dan Barber 5b2d1d4d17
Migrate images to Active Storage
Also adds a rake task to do the migration.
2018-11-16 17:16:01 -05:00

7 lines
191 B
Ruby

class RenameDragonflyColumns < ActiveRecord::Migration[5.2]
def change
rename_column :images, :image_uid, :df_image_uid
rename_column :images, :image_name, :df_image_name
end
end