retrospring/db/migrate/20200517192431_remove_paperclip_fields.rb
2023-10-21 13:01:07 +02:00

12 lines
436 B
Ruby

# frozen_string_literal: true
class RemovePaperclipFields < ActiveRecord::Migration[5.2]
def change
remove_column :users, :profile_picture_content_type
remove_column :users, :profile_picture_file_size
remove_column :users, :profile_picture_updated_at
remove_column :users, :profile_header_content_type
remove_column :users, :profile_header_file_size
remove_column :users, :profile_header_updated_at
end
end