1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/db/migrate/20140308082639_remove_paperclip_columns_from_photos.rb
2021-07-16 12:58:13 -05:00

9 lines
273 B
Ruby

class RemovePaperclipColumnsFromPhotos < ActiveRecord::Migration[5.1]
def change
remove_column :photos, :photo_file_name
remove_column :photos, :photo_content_type
remove_column :photos, :photo_file_size
remove_column :photos, :photo_updated_at
end
end